#30083 [Fbk->Opn]: call to undefine class method exit php without yell

From: Date: Sun, 19 Sep 2004 07:37:30 +0000
Subject: #30083 [Fbk->Opn]: call to undefine class method exit php without yell
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-66403@lists.php.net to get a copy of this message
ID: 30083 User updated by: momo@php.net Reported By: momo@php.net -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] helly@php.net What happens when you set error_mode to 0? ------------------------------------------------------------------------ [2004-09-14 11:16:02] momo@php.net 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

« previous php.bugs (#66403) next »