Saturday, 22 October 2016

 
$x=11;
if ($x++>11)
{
echo "$x";
}

else
{
echo "not greater than $x";
}
?>


Output of this code is -
not greater than 12




I want to know why this happens.
Thanks!

No comments:

Post a Comment