Learning PHP and MySQL

Example 04-05 The multiplication is done last because of the override

<?php
echo  2  *  3  +  4  +  1;
echo  
2  *  (3  +  4  +  1);
?>

Posted by on 08/03 at 08:10 AM

Next entry: Example 04-06 Else and if statements

Previous entry: Example 04-04 Order of precedence

<< Back to main