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

From: Date: Tue, 15 May 2001 11:48:00 +0000
Subject: Bug #10876: 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-55332@lists.php.net to get a copy of this message
From: anton@concord.ru Operating system: WINNT 4.0 SP6 + Apache 3.12, php as apache module PHP version: 4.0.5 PHP Bug Type: Scripting Engine problem Bug description: Main thread error if die placed in file which uncluded from switch-case operato 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"); ?> -- Edit Bug report at: http://bugs.php.net/?id=10876&edit=1

« previous php.dev (#55332) next »