tomw, Pop quiz: can you spot the problem in this PHP snippet? I just got tripped up by it and it was very Not Fun. (This is rewritten to be a minimal example.)
if ( $coolness > 10 ) {
define('COOL_MODE', true);
}if ( COOL_MODE == true) {
echo 'You are cool.';
}
Add comment