<?php$r = 8;$s = -6;$t = 22;echo 8 + $s * $t / $r;?>
First the * is evaluated then / followed by + therefore we can rewrite this expression as 8 +((- 6 * 22) / 8) which results in -8.5.
Previous Question Next Question
Your comments will be displayed only after manual approval.