I came across this today while thinking how I could put the Boyer-Moore string search algorithm into PHP.
Wouldn't you expect the following to give you a parse error?
Strangely, it outputs both echo calls.
Is this built-in behavior for something? Does this parse correctly for you? Am I loosing it?
Wouldn't you expect the following to give you a parse error?
Code:
<?php echo "Ok ..."; { echo "I'm inside rogue curly braces!"; } ?>
Is this built-in behavior for something? Does this parse correctly for you? Am I loosing it?
Comment