PHP 4.0 Bug #7581 Updated: crash?
| From: | pontus at feting dot fetfett dot nu | Date: | Thu, 02 Nov 2000 11:52:51 +0000 |
| Subject: | PHP 4.0 Bug #7581 Updated: crash? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36776@lists.php.net to get a copy of this message | ||
ID: 7581
User Update by: pontus@feting.fetfett.nu
Status: Closed
Bug Type: Other web server
Description: crash?
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?
<html>
<head>
<?
function testcrash()
{
print "<pre>Fork and pipe to stdout</pre>\n";
die("sheeesh");
}
?>
<body>
A little html-output....
<? testcrash() ?>
</body>
</html>
Previous Comments:
---------------------------------------------------------------------------
[2000-11-02 06:29:47] waldschrott@php.net
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-01 22:15:10] pontus@feting.fetfett.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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7581