Re: References challenge with PHP4
| From: | Jochem Maas | Date: | Tue, 20 Mar 2007 21:03:49 +0000 |
| Subject: | Re: References challenge with PHP4 | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250949@lists.php.net to get a copy of this message | ||
Robert Cummings wrote:
> On Tue, 2007-03-20 at 11:52 +0100, Jochem Maas wrote:
>> ok, I tried it in a whole number of variations -
>> no joy.
>>
>> you should use php5 if you want this kind of reference
>> stuff - in php5 it just works, php 4 will give you big headaches.
>
> Now now, don't be calling PHP5 "ALL THAT" when it can't do it right
> either (or did you not check it using PHP5 ;) ;)
god knows what I did - obviously something different to what I thought
I was testing :-/
> Everything works fine
> in PHP4 (also for PHP5 in this case if you just understand that static
> vars are buggy *lol* -- and this is first time I've noticed this bug).
I have never run into this bug before ... nice catch, seems like
a viable item for a bug report.
> Solution follows:
>
anyway I stand corrected - thanks for the info Rob.