#30083 [Fbk->Bgs]: call to undefine class method exit php without yell
| From: | momo@php.net | Date: | Thu, 23 Sep 2004 12:27:11 +0000 |
| Subject: | #30083 [Fbk->Bgs]: call to undefine class method exit php without yell | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66591@lists.php.net to get a copy of this message | ||
ID: 30083
Updated by: momo@php.net
Reported By: momo@php.net
-Status: Feedback
+Status: Bogus
Bug Type: CGI related
Operating System: winxp
PHP Version: 5.0.1
New Comment:
yes the log_errors was On (i played with the wrong .ini sorry).
Previous Comments:
------------------------------------------------------------------------
[2004-09-22 23:09:02] helly@php.net
Have you checked you error_logs and other relevant ini settings?
------------------------------------------------------------------------
[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