Re: Function proposal: varset
| From: | Mark | Date: | Wed, 27 Apr 2011 15:18:30 +0000 |
| Subject: | Re: Function proposal: varset | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-52031@lists.php.net to get a copy of this message | ||
Any idea on how to progress with this idea?
I certainly would like to see it in PHP 5.4 but i don't have the knowledge
nor time to figure out the php internals (in C...)
On Sat, Apr 23, 2011 at 4:04 AM, Ben Schmidt
<mail_ben_schmidt@yahoo.com.au>wrote:
> yeah you are right, passing arguments by reference doesn't trigger the
>> notice, but I'm not sure that it is applicable in our case.
>>
>
> Yeah, it wouldn't help. For instance, 42 or "default" can't be passed by
> reference, so you couldn't actually provide a default value to
> coalesce() if you implemented it like that, which would make it pretty
> useless. :-)
>
> Ben.
>
>
>
>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>