Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.1.15

Bug #19783 {} after case after switch cause Fatal error: Uncaught exception 'Exception'
Submitted: 2013-01-14 09:21 UTC
From: pierre_talmontiers Assigned:
Status: Open Package: PHP_Beautifier (version 0.1.15)
PHP Version: 5.3.5 OS: windows 7
Roadmaps: (Not assigned)    
Subscription  


 [2013-01-14 09:21 UTC] pierre_talmontiers (Pierre Talmontiers)
Description: ------------ switch($T){ case'd' :$a="it's ok";break; case('l') :$a="it's ok"; case('e') :{$a="some code";} // it's not ok cause {} default :{$a="some code";break;} // but here it's ok } Actual result: -------------- Fatal error: Uncaught exception 'Exception' with message 'Token doesn't exists'

Comments