Thank you for dropping by.
Code
$variable = 10;
$variableOne = 10;
$result = $variable == $variableOne;
echo $result;
When comparison between $variable and $variableOne returns false, Why is $result not assigned 0? However the end result is otherwise and $result is assigned 1 when comparison returns true.
Thank you for your time, PHP Beginner.