Why isn't the "yes you are in check function" printed?
file.php
$debug = true;
function check() {
global $debug;
error_log("in check function");
if ($debug) {
error_log(" yes you are in check function");
}
}
SO when check() is called, the output is ONLY:
in check function
how can that be? why isn't the 2nd error log line printed?