On Fri, Apr 22, 2011 at 12:07 AM, Brian Moon wrote:
> which one?
>> I guess that you are talking about the language constructs like isset and
>> empty.
>> they aren't functions.
>>
>
> settype() for one.
>
> Brian.
>
yeah you are right, passing arguments by reference doesn't trigger the
notice,
which one?
I guess that you are talking about the language constructs like isset and
empty.
they aren't functions.
settype() for one.
Brian.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Apr 21, 2011 at 8:37 PM, Brian Moon wrote:
> I proposed something similar over 5 years ago. It ain't gonna happen
>> because PHP language can't support it.
>>
>
> It supports it. Several functions allow you to pass in variables that are
> not set and don't throw an error. Not sure what yo
I proposed something similar over 5 years ago. It ain't gonna happen
because PHP language can't support it.
It supports it. Several functions allow you to pass in variables that
are not set and don't throw an error. Not sure what you are talking about.
Brian.
--
PHP Internals - PHP Runtime D
On Wed Apr 20 04:41 PM, D. Dante Lorenso wrote:
>
> My proposal was called "filled" since it was the opposite of "empty"
> which already existed. I extended the function to return the first
> non-empty value or null if all values evaluated as empty.
>
> You could use the function like this:
>
>
>
> What does coalesce() do?
> If I'm guessing correctly, would proposal #2 that Rune Kaagaard put up
> solve that for you?
> https://gist.github.com/909711
>
> Cheers,
> David
>
>
It was discussed in a separate thread.
generally it would do the same as in SQL, return the first non-null value
fr