|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-06-06 08:35 UTC] tony2001@php.net
[2007-12-18 09:47 UTC] aigors at inbox dot lv
[2008-01-15 07:29 UTC] aigors at inbox dot lv
[2008-01-26 01:07 UTC] jani@php.net
[2008-02-09 01:14 UTC] stas@php.net
[2008-08-13 20:09 UTC] jani@php.net
[2009-06-15 09:18 UTC] aigors at inbox dot lv
[2009-06-15 09:26 UTC] aigors at inbox dot lv
[2009-06-29 10:57 UTC] tony2001@php.net
[2009-06-29 11:22 UTC] aigors at inbox dot lv
[2009-06-29 13:54 UTC] dmitry@php.net
[2009-07-23 11:47 UTC] svoboda at svoon dot net
[2009-09-25 22:34 UTC] jani@php.net
[2009-09-25 23:25 UTC] aigors at inbox dot lv
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 19:00:01 2025 UTC |
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