ID: 39609 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request PHP Version: 5.2.0 New Comment:
Reclassified as feature request. Previous Comments: ------------------------------------------------------------------------ [2006-11-23 16:31:22] [EMAIL PROTECTED] Description: ------------ Using the increment or decrement operators immediately following respectively a plus or minus with a non-variable expression produces a parse error. Reproduce code: --------------- ($a+++$b) // works (1+$a++) // works (1-++$a) // works ($a+++1) // works (1+++$a) // parse error ($a---$b) // works (1-$a--) // works (1+--$a) // works ($a---1) // works (1---$a) // parse error ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39609&edit=1