[PHP-DEV] Bug #10876: Main thread error if die placed in file which uncluded from switch-case operato From: anton <email protected>
Date: 05/15/01

From: anton <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>