#30083 [Opn->Fbk]: call to undefine class method exit php without yell
| From: | helly@php.net | Date: | Tue, 14 Sep 2004 17:57:39 +0000 |
| Subject: | #30083 [Opn->Fbk]: call to undefine class method exit php without yell | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66180@lists.php.net to get a copy of this message | ||
ID: 30083
Updated by: helly@php.net
Reported By: momo@php.net
-Status: Open
+Status: Feedback
Bug Type: CGI related
Operating System: winxp
PHP Version: 5.0.1
New Comment:
What happens when you set error_mode to 0?
Previous Comments:
------------------------------------------------------------------------
[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