On 14 June 2015 04:33:16 BST, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
>Hi Rowan,
>
>On Thu, Jun 11, 2015 at 5:59 PM, Rowan Collins
><rowan.collins@gmail.com>
>wrote:
>> This one has given a different message because of it being a
>non-string
>> value, but would be equally fatal if you tried to call any undefined
>> function. Would coercing NULL to an imaginary function which returns
>NULL
>> actually be useful for anything?
>
>
>For example, getting NULL handler as the default.
>This is useful like $v=NULL;$v[1][2][3];
I was talking specifically about using NULL as a *function*, not an *array*.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
>Hi Rowan,
>
>On Thu, Jun 11, 2015 at 5:59 PM, Rowan Collins
><rowan.collins@gmail.com>
>wrote:
>> This one has given a different message because of it being a
>non-string
>> value, but would be equally fatal if you tried to call any undefined
>> function. Would coercing NULL to an imaginary function which returns
>NULL
>> actually be useful for anything?
>
>
>For example, getting NULL handler as the default.
>This is useful like $v=NULL;$v[1][2][3];
I was talking specifically about using NULL as a *function*, not an *array*.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php