#30083 [NEW]: call to undefine class method exit php without yell
| From: | momo@php.net | Date: | Tue, 14 Sep 2004 09:16:03 +0000 |
| Subject: | #30083 [NEW]: call to undefine class method exit php without yell | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-66167@lists.php.net to get a copy of this message | ||
From: momo@php.net
Operating system: winxp
PHP version: 5.0.1
PHP Bug Type: CGI related
Bug description: call to undefine class method exit php without yell
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 bug report at http://bugs.php.net/?id=30083&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30083&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30083&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30083&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30083&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30083&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30083&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30083&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30083&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30083&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30083&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30083&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30083&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30083&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30083&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30083&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30083&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30083&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30083&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30083&r=mysqlcfg