Various updates to PR
1) convert echo to print, and add infobox, as requested in PR comments2) If no identifiable line number, say so3) EVAL gives an error message format that wasn't picked up, it is now. Test case - enter as the code: eval("X");4) Warn that EVAL gives a "spurious" "error at line 1" as well, the real error is in the (...). See above test case for this....
add comment
typo
If user-entered PHP errors out, display the error line in context to help the user
If the user enters PHP in the command-line page, and it errors out, it's usually a typo or something minor. But the user is left with an error that references a /tmp file which doesn't exist at the point they read the message, a line number that's incorrect, and their input which doesn't display line numbers anyhow....
Merge pull request #3739 from PiBa-NL/20170521-js-versioning
Merge pull request #3737 from phil-davis/diag-dns-hide-add-alias-button
Merge pull request #3729 from znerol/bug/master/tmp-script
Merge pull request #3715 from phil-davis/if-stats-widget-settings
Merge pull request #3730 from PiBa-NL/20170517-sort-virtualips
Merge pull request #3732 from phil-davis/rule-created-updated
View revisions
Also available in: Atom