php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9067 Parser hangs/crashes on die(); or exit;
Submitted: 2001-02-02 04:09 UTC Modified: 2001-06-10 21:24 UTC
From: vgo at nrd dot lt Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.4pl1 OS: Windows 2000
Private report: No CVE-ID: None
 [2001-02-02 04:09 UTC] vgo at nrd dot lt
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();
  }

}
...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-14 07:56 UTC] jmoore@php.net
Please update to 4.0.6RC1 or 4.0.7-dev and try again, this should have been fixed in CVS.

- James
 [2001-06-10 21:24 UTC] jmoore@php.net
No feedback. Closing.

- James
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 14:01:33 2024 UTC