I have this equation:
<?php
$i=5;
$i += $i++ + ++$i;
echo $i;
It gives output 19. Which strange to me as I am new in php. According to my effort I see how it deal.
first ++$i = 5 + 1 = 6 then
$i++ = 6 then
$i + = 6 + 1 = 7 and in total its,
$i += $i++ + ++ $i equals to 7+6+6=19.
can any one tell the how $i += 6 + 1 = 7
Sorry for my bad english. Thanks in advance.