ID: 30747
Updated by: [EMAIL PROTECTED]
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