
PHP "break", "continue" indentation bug
By: a guest on
Nov 5th, 2012 | syntax:
PHP | size: 0.21 KB | hits: 88 | expires: Never
<?php
// Notice the number of spaces before the "break" keyword!
// Example 1
function() {
for (;;)
if (0) break;
};
// Example 2
function() {
for (;;) if (0) break;
};