Re: [PHP4BETA] cvs: php4 /ext/standard/ string.c
| From: | Andrei Zmievski | Date: | Thu, 01 Jun 2000 14:23:35 +0000 |
| Subject: | Re: [PHP4BETA] cvs: php4 /ext/standard/ string.c | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-16031@lists.php.net to get a copy of this message | ||
On Thu, 01 Jun 2000, jah@mork.net 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." *