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

From: Date: Mon, 20 Aug 2001 16:09:16 +0000
Subject: Bug #10876 Updated: Main thread error if die placed in file which uncluded from switch-case operato
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-63872@lists.php.net to get a copy of this message
ID: 10876 Updated by: sniper Reported By: anton@concord.ru Old Status: Feedback Status: Closed Bug Type: Scripting Engine problem Operating System: WINNT 4.0 SP6 + Apache 3.12, php PHP Version: 4.0.5 New Comment: No feedback. Reopen if you still have this problem with PHP 4.0.7 (soon to be released) or with latest CVS snapshot. Previous Comments: ------------------------------------------------------------------------ [2001-07-15 13:54:53] zeev@php.net Unable to reproduce under the latest CVS. Please try a recent snapshot from www.zend.com/snapshots/ and see if the problem persists. ------------------------------------------------------------------------ [2001-05-15 08:07:45] anton@concord.ru Some comments. It happen when Output_buffering=on only, if output_buffering=off all is ok ------------------------------------------------------------------------ [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"); ?> ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=10876&edit=1

« previous php.dev (#63872) next »