From: [EMAIL PROTECTED] Operating system: windows PHP version: 4.2.3 PHP Bug Type: *General Issues Bug description: $x++-1 doesnt work
On php4.2.3. on windows $x++-1 evaluates to $x (which I belive is wrong. First evaluate and then increment). on unix (php version ?) it evaluates to $x-1 (which I beliave is correct). I havent tried with CVS -- Edit bug report at http://bugs.php.net/?id=21014&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21014&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21014&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21014&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21014&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21014&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21014&r=support Expected behavior: http://bugs.php.net/fix.php?id=21014&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21014&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21014&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21014&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21014&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21014&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21014&r=isapi