ID: 30083 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: CGI related Operating System: winxp PHP Version: 5.0.1 New Comment:
the output is just "before" in both cgi via httpd and cgi via the shell. Previous Comments: ------------------------------------------------------------------------ [2004-09-14 19:57:38] [EMAIL PROTECTED] What happens when you set error_mode to 0? ------------------------------------------------------------------------ [2004-09-14 11:16:02] [EMAIL PROTECTED] Description: ------------ the following code works nice when runing php-cli and php-cgi from the shell but with apache 1.3.x(cgi) the script exit without yell. Reproduce code: --------------- <? error_reporting(E_ALL); class d {} $d=new d(); echo "before"; $d->nf(); echo "after"; ?> Expected result: ---------------- before Fatal error: Call to undefined method d::nf() in c:\php\test.php on line 6 Actual result: -------------- before ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30083&edit=1