Hi all,
Take a look at this bug report.
https://bugs.php.net/bug.php?id=65087
He complains about documentation of ++/--.
The doc says
http://www.php.net/manual/en/language.operators.precedence.php
---------------
// mixing ++ and + produces undefined behavior
$a = 1;
echo ++$a + $a++; // may print 4 or 5
---------------
"may print 4 or 5"?? Undefined??
In old PHP there may be such limitation.
I cannot believe this is true now, but I ask list before I fix doc.
Any comments?
--
Yasuo Ohgaki
[email protected]