home
/
zktecojo
/
public_html
/
vendor
/
nikic
/
php-parser
/
test
/
code
/
parser
/
stmt
➕ New
📤 Upload
✎ Editing:
switch.test
← Back
Switch ----- <?php switch ($a) { case 0: case 1; default: } // alternative syntax switch ($a): endswitch; // leading semicolon switch ($a) { ; } switch ($a): ; endswitch; ----- array( 0: Stmt_Switch( cond: Expr_Variable( name: a ) cases: array( 0: Stmt_Case( cond: Scalar_LNumber( value: 0 ) stmts: array( ) ) 1: Stmt_Case( cond: Scalar_LNumber( value: 1 ) stmts: array( ) ) 2: Stmt_Case( cond: null stmts: array( ) ) ) ) 1: Stmt_Switch( cond: Expr_Variable( name: a ) cases: array( ) ) 2: Stmt_Switch( cond: Expr_Variable( name: a ) cases: array( ) ) 3: Stmt_Switch( cond: Expr_Variable( name: a ) cases: array( ) ) )
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel