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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vgo at nrd dot lt
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Mon May 05 20:01:29 2025 UTC