On Sun, Oct 23, 2016 at 4:59 AM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:
> Numeric key name must be string?
>
> $obj->{'0'} = 1;
>
> or could be like (Without quotes)
>
> $obj->{0} = 1;

It seems variables can be numeric now.

https://3v4l.org/bjZ4d

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to