Re: [studs-user] Fwd: This is frustrating!
Status: Beta
Brought to you by:
mojavelinux
|
From: Earnie B. <ea...@us...> - 2006-05-15 11:11:47
|
Quoting Dan Allen <dan...@gm...>:
>
> // NOT ALLOWED (IN A NESTED CONTEXT)
> function &foobar() {
> return null;
> }
>
> // ALLOWED
> function &foobar() {
> return ref(null);
> }
>
> There were also some other outstanding bugs that were fixed.
>
I'll be trying it soon but I wanted to share that you can use your
ref() function in the call to serialize that requires
allow_call_time_pass_reference to be set on so that you can set it off.
I'll create a patch for it and submit.
It is obvious from the read on Call by Reference/Return by Reference at
php.net that something/someone is confused on what/how to implement
this correctly.
Earnie Boyd
http://shop.siebunlimited.com
|