ID: 20548 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Verified Bug Type: Scripting Engine problem Operating System: Linux 2.4 PHP Version: 4.3.0RC1 New Comment:
I just stumbled across this bug recently with an older version (4.1.1) of PHP on Win32 -- verified that it still exists in 4.3.0. This one had me going in circles trying to debug. Work-arounds: $score[$num] -= 1; or $score[$num] = $score[$num] - 1; Previous Comments: ------------------------------------------------------------------------ [2002-11-21 12:42:11] [EMAIL PROTECTED] The following: $score[$num]--; does not affect $score[$num] if $score[$num] is uninitiated. Using $score[$num]++ does work, however. This is inconsistent. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20548&edit=1
