if (TRACE) echo "trace is true<br>"; else echo "trace is false<br>";
if (TRACE === true) echo "trace is true<br>"; else echo "trace is false<br>";
function IsBooleanConstantAndTrue($constname) { // : Boolean
$res=FALSE;
if (defined($constname)) $res=(constant($constname)===TRUE);
return($res);
}
if (IsBooleanConstantAndTrue('TRACE')) echo "trace is Boolean and true<br>"; else echo "trace is either False , set and not Boolean or unset<br>";
Copyright(©)(c) the respective authors. Licensed under the Creative Commons Attribution Share Alike 3.0 License .
These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!