|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-11-10 15:46 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 22:00:02 2025 UTC |
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...