|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-04-08 04:58 UTC] leap2k1 at yahoo dot com
Description: ------------ Hello everybody, I also encounter this problem with Apache 1.3.26 and PHP 5.0.3. I tried with the newest version Apache 1.3.33 and PHP 5.0.4 and this problem still occurs. I need your helps. Thank a lot! "Faulting application Apache.exe, version 0.0.0.0, faulting module php5ts.dll, version 5.0.4.4, fault address 0x0003b927." PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Feb 05 19:00:01 2026 UTC |
In order to re-produce this bug, you can create two files with the content as below (PHP 5.0.3). Then try the go to URL to test1.php. ###################################### test1.php <?php $step = 1; $global_variable = "GLOBAL VARIABLE"; include(dirname(__FILE__).'/test2.php'); executeStep(); ?> ###################################### test2.php <?php switch($step) { case 1: function executeStep() { } break; case 2: function executeStep() { global $global_variable; } break; } ?> Regards, Anh Phong.