JosephLenton / PHP-Error

Better error reporting for PHP, and prettier too!
1.35k stars 151 forks source link

Show line numbers in source code #65

Closed Anticom closed 11 years ago

Anticom commented 11 years ago

Would be cool, if there were line numbers left to the displayed sourcecode

JosephLenton commented 11 years ago

Line numbers are already supported, they just weren't documented (doh!).

If you don't have line numbers, you can use the option 'display_line_numbers' to turn them on. Just set it to true, and use the option like any other existing option.

In the next release (including what is currently here on GitHub), this will no longer do anything, as it PHP Error now uses Ace for displaying code. This has line numbers on permanently.