Re: [PHP4BETA] cvs: php4 /ext/standard/ string.c

From: Date: Thu, 01 Jun 2000 14:30:30 +0000
Subject: Re: [PHP4BETA] cvs: php4 /ext/standard/ string.c
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-16034@lists.php.net to get a copy of this message
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

« previous php.version4 (#16034) next »