|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-03-16 15:48 UTC] hholzgra@php.net
[2001-03-20 21:06 UTC] craigp at canada dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 07:00:01 2025 UTC |
If there is a syntax error in my switch control structure, my script returns a message pop-up 'The server returned an invalid or unrecognized response.', It seems that the syntax of the switch control structure is not checked properly before processing the script. this is my invalid switch structure (missing a 'case' statement): $varX = "a"; switch($varX){ "a": echo("a"); break; case "b": echo("b"); break; } check it out!