#30747 [Opn->Bgs]: PHP5 Windows Version Crash Problem

From: Date: Wed, 10 Nov 2004 14:46:07 +0000
Subject: #30747 [Opn->Bgs]: PHP5 Windows Version Crash Problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-68894@lists.php.net to get a copy of this message
ID: 30747 Updated by: tony2001@php.net Reported By: sami at sipponen dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Windows XP PHP Version: 5.0.2 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. Duplicate of #29944. Previous Comments: ------------------------------------------------------------------------ [2004-11-10 15:42:25] sami at sipponen dot com Description: ------------ PHP5 Windows crashes if I execute the code below: (not tested with *nix version of PHP) <? $_GET["search_type"] = 1; switch ($_GET["search_type"]) { case 1: function sqlWhere() { } sqlWhere(); } ?> Reproduce code: --------------- <? $_GET["search_type"] = 1; switch ($_GET["search_type"]) { case 1: function sqlWhere() { } sqlWhere(); } ?> Expected result: ---------------- This example code won't actually do nothing. Actual result: -------------- Crash... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30747&edit=1

« previous php.bugs (#68894) next »