<?php // First script $a = 1; echo $a + $a++; // may print either 2 or 3 => Finally, no, it always print 3 echo "\n"; // Second script $i = 1; $array[$i] = $i++; // may set either index 1 or 2 => Same here, array will always contain index 2 and value 1 var_export($array);
You have javascript disabled. You will not be able to edit any code.