Re: Function proposal: varset
| From: | Ben Schmidt | Date: | Sat, 23 Apr 2011 02:04:30 +0000 |
| Subject: | Re: Function proposal: varset | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51984@lists.php.net to get a copy of this message | ||
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.