|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7581 crash?
Submitted: 2000-11-01 22:15 UTC Modified: 2000-11-02 06:52 UTC
From: pontus at feting dot fetfett dot nu Assigned:
Status: Closed Package: Other web server
PHP Version: 4.0.3pl1 OS: linux 2.2.15-4mdk
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
48 - 26 = ?
Subscribe to this entry?

 [2000-11-01 22:15 UTC] pontus at feting dot fetfett dot nu
Whenever I call exit() or die() with php on roxen 2.1.143 it appears php crashes (I get the "document contained no data"-message from netscape). I configured php with --with-mysql --with-roxen=/usr/local/roxen/server/

examples are
<?php die(); ?>
<?php exit(); ?>
anywhere in the document, and in a function as well


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-02 06:29 UTC]
If you don?t say sth, it?s calm.
If you don?t put sth out, document contains no data. :)

are you SURE that you?ve put sth out before?
simply try

<?php die('foobar'); ?>
 [2000-11-02 06:52 UTC] pontus at feting dot fetfett dot nu
Ok, this is the real test I did, but I thought it too long on the last post... :-)
As you can see I'm writing stuff before die(). I suppose that's what you mean by sth?

    function testcrash()
        print "<pre>Fork and pipe to stdout</pre>\n";
A little html-output....
<? testcrash() ?>
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 08 00:01:30 2023 UTC