ID: 41608
Updated by: jani@php.net
Reported By: aigors at inbox dot lv
-Status: Open
+Status: Assigned
Bug Type: Reproducible crash
Operating System: Windows XP
PHP Version: 5.2.5
Assigned To: tony2001
New Comment:
Antony..you claimed to have fixed this? :)
Previous Comments:
------------------------------------------------------------------------
[2008-01-15 07:29:07] aigors at inbox dot lv
Yes, it appears that bug is in the snapshots also.
------------------------------------------------------------------------
[2008-01-14 22:26:03] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
------------------------------------------------------------------------
[2007-12-18 09:47:50] aigors at inbox dot lv
Bug still exists in PHP 5.2.5.
------------------------------------------------------------------------
[2007-06-06 08:35:53] tony2001@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2007-06-06 07:44:20] aigors at inbox dot lv
Description:
------------
Apache crash because of script containing set_error_handler function.
Reproduce code:
---------------
/***Main php file***/
<?php
function MyErrorHandler($errno, $errstr, $errfile, $errline){
include_once('empty.php');
}
set_error_handler("MyErrorHandler");
include_once('blah.php');
echo('I am done');
?>
/***blah.php file***/
<?php
class Blah {
function foo($value, $classname) {
switch(strtolower($value['key'])) {
default: $x = &new $classname;
}
}
}
?>
/***empty.php file - no content***/
Expected result:
----------------
Should output "I am done"
Actual result:
--------------
Apache crash
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41608&edit=1