ID: 9566
Updated by: andre
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Reproduceable crash
Assigned To: 
Comments:



Previous Comments:
---------------------------------------------------------------------------

[2001-03-16 15:48:06] [EMAIL PROTECTED]
for me 4.0.4pl1 gives a parse error
on teh '"a:"' line

---------------------------------------------------------------------------

[2001-03-05 15:49:46] [EMAIL PROTECTED]

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!

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9566&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to