Seeing parse errors?
| From: | news.php.net | Date: | Fri, 09 May 2003 23:36:58 +0000 |
| Subject: | Seeing parse errors? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-147078@lists.php.net to get a copy of this message | ||
Can I see parse errors? For example,
a = 5;
should generate a parse error, but all that happens is my php file quits
processing at that point, and no error is returned to the html page (which
also quits). The default for my server site is no display_errors, but I
have successfully overridden that by placing,
phpinfo();
ini_set("display_errors", "1");
ini_set("error_reporting", "2047");
phpinfo();
at the very beginning of my file and verifying the changes were accepted. I
am a courtesy user on this server, and it would be difficult for me to
request php.ini changes. Thanks!