I’m using php’s CLI SAPI on Windows 7 and can’t get any error output.
For instance, echo "hello" works fine, but echo $undefined_variable doesn’t output any kind of Undeifined variable… error.
I’d love to be able to debug a script on windows but I am afraid I do not know how to set my environment up properly. Any help would be hugely appreciated!
The first 3 directives listed on this page: http://php.net/manual/en/errorfunc.configuration.php are what you need, particularly the “display_errors” one.