Bug #10876 Updated: Main thread error if die placed in file which uncluded from switch-case operato

From: Date: Tue, 15 May 2001 12:07:47 +0000
Subject: Bug #10876 Updated: Main thread error if die placed in file which uncluded from switch-case operato
Groups: php.dev 
Request: Send a blank email to php-dev+get-55334@lists.php.net to get a copy of this message
ID: 10876 User Update by: anton@concord.ru Status: Open Bug Type: Scripting Engine problem Operating system: WINNT 4.0 SP6 + Apache 3.12, php PHP Version: 4.0.5 Description: Main thread error if die placed in file which uncluded from switch-case operato Some comments. It happen when Output_buffering=on only, if output_buffering=off all is ok Previous Comments: --------------------------------------------------------------------------- [2001-05-15 07:48:00] anton@concord.ru I use WINNT 4.0+SP6+Apache 1.3.12+php 4.0.5 as apache module I got Apache main thread error each time, if die() or exit() function placed in file which included from switch-case operator like this: code example tdie.php <? $a=1; switch ($a) { case 1: include("testdie.php"); break; } ?> testdie.php <? die("qq"); ?> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=10876

« previous php.dev (#55334) next »