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

From: Date: Wed, 22 Sep 2004 21:09:03 +0000
Subject: #30083 [Opn]: call to undefine class method exit php without yell
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-66569@lists.php.net to get a copy of this message
ID: 30083 Updated by: helly@php.net Reported By: momo@php.net Status: Open Bug Type: CGI related Operating System: winxp PHP Version: 5.0.1 New Comment: Have you checked you error_logs and other relevant ini settings? Previous Comments: ------------------------------------------------------------------------ [2004-09-21 14:29:11] momo@php.net btw, calling to undefine function e.g stelen(), produce the same bug. ------------------------------------------------------------------------ [2004-09-19 09:37:29] momo@php.net the output is just "before" in both cgi via httpd and cgi via the shell. ------------------------------------------------------------------------ [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 (#66569) next »