Re: [PHP4BETA] cvs: php4 /ext/standard/ string.c
[email protected] Thu, 1 Jun 2000 17:30:30 +0300 (EEST)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 1 Jun 2000, Zeev Suraski wrote: > What you're doing is not defined in C/C++. The order of evaluation of > lvalue vs. rvalue is undefined. > > So, > > *r = foo(++*r); > > Could be equivalent to both: > > *r = foo(*r); > ++*r; > > and > > ++*r; > *r = foo(*r); > > It's compiler dependant. You need to fix it... Oh no, no, no... not again :( -- Jouni