Q. What will be the output of the following PHP code ?
Code:
<?php $p = 2; $q = 2; $r = 2; echo ++$p + ++$p+$p++; print $p++ + ++$q; print ++$r + $r++ + $p++; ?>
β
Correct Answer: (B)
11812