Hi,
i got an interesting case  :

<?php
$a = 1;
var_dump($a + $a++);


$a = 1;
$x = &$a;
var_dump($a + $a++);

?>
Result
int(2)
int(3)

Can somebody explain why if there is reference to the var the result is
different?


Andrey





-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to