I have just installed the latest version of LAMP on Debian 7.0.0.
For some reason, the following code
if ($LogIncrease==true) echo "true" . "<br\>";
else echo "false" . "<br\>";
echo "LogIncrease=" . $LogIncrease . "<br\>";
returns
true
LogIncrease=false
when $LogIncrease is actually false and
true
LogIncrease=true
when $LogIncrease is actually true
When I use
if ($LogIncrease===true) echo "true" . "<br\>";
else echo "false" . "<br\>";
I always get false. Could someone tell me what is wrong with the way I am using the conditional statement?