- Added a loop index in AbstractLoop control struct.

This commit is contained in:
Dave Mc Nicoll committed 2025-10-15 14:57:42 +00:00
1 parent e737e82d7e
commit ef95576d74
10 files changed
+73 -36

No files matched your search

+3 -1
View File
@@ -23,11 +23,13 @@ class SwitchToken implements ControlStructure {
}
return ( $output ?? "" ) . "case $arguments: ?>";
case "endcase":
case "/case":
return "<?php break; ?>";
case "endswitch":
case "/switch":
return "<?php endswitch; ?>";
}
}