Date: 11/26/00
- Next message: alexm <email protected>: "[PHP-DEV] PHP 4.0 Bug #7980: set object as session variable"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] Re: [PHP] ++ BUG?? (fwd)"
- In reply to: Ignacio Vazquez-Abrams: "Re: [PHP-DEV] Re: [PHP] ++ BUG?? (fwd)"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] Re: [PHP] ++ BUG?? (fwd)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
IV>> The PHP manual states "C-style ... operators". C only does the
IV>> post(inc|dec) at the end of the statement, not after the expression.
Well, what I found in standard is:
[#2] The result of the postfix ++ operator is the value of
the operand. After the result is obtained, the value of the
operand is incremented. [...] The side effect of updating the
stored value of the operand shall occur between the previous
and the next sequence point.
This does no guarantee of where this "between" happens. And PHP is not C,
anyway :)
-- Stanislav Malyshev, Zend Products Engineer stas <email protected> http://www.zend.com/ +972-3-6139665 ext.106-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: alexm <email protected>: "[PHP-DEV] PHP 4.0 Bug #7980: set object as session variable"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] Re: [PHP] ++ BUG?? (fwd)"
- In reply to: Ignacio Vazquez-Abrams: "Re: [PHP-DEV] Re: [PHP] ++ BUG?? (fwd)"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] Re: [PHP] ++ BUG?? (fwd)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

