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

[email protected] (Andrei Zmievski) Thu, 1 Jun 2000 09:23:35 -0500
Newsgroups php.version4
Message-ID <[email protected]>
On Thu, 01 Jun 2000, [email protected] wrote:
> Didn't happen for me. At what point of the line does r actually get
> incremented? I read the first version as 'uppercase the char r points to
> and assign it to incremented r', the second 'increment r, uppercase the
> char it points to, and assign it to r (ie. itself)'. But in fact, both
> versions did work for me. I was in fact fixing something else, skipping
> over when there are an even number of space chars.

You're right - right hand side increments r and uppercases it and
assigns it to the same location.

-Andrei
* "Lack of planning on your part doesn't consitute an emergency on my part." *