PHP 4.0 Bug #9067: Parser hangs/crashes on die(); or exit;
| From: | vgo at nrd dot lt | Date: | Fri, 02 Feb 2001 09:09:59 +0000 |
| Subject: | PHP 4.0 Bug #9067: Parser hangs/crashes on die(); or exit; | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45591@lists.php.net to get a copy of this message | ||
From: vgo@nrd.lt
Operating system: Windows 2000
PHP version: 4.0.4pl1
PHP Bug Type: Reproduceable crash
Bug description: Parser hangs/crashes on die(); or exit;
The parser crashes when invoking die() or exit function inside included module function. Ex.:
in module main.php
...
require_once( "Module.inc.php" );
...
$object->some_function( $parameter );
...
in module Module.inc.php
...
class SomeObject
{
function some_function( $parameter )
{
...
exit; // or die();
}
}
...
--
Edit Bug report at: http://bugs.php.net/?id=9067&edit=1