Re: [lists.php] Re: [PHP-DEV] PHP 6 : a new API ?
| From: | ALeX | Date: | Fri, 22 Feb 2013 10:15:36 +0000 |
| Subject: | Re: [lists.php] Re: [PHP-DEV] PHP 6 : a new API ? | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-66152@lists.php.net to get a copy of this message | ||
> So why not avoiding this by adding it as methods of the scalar variable instead, aka
> autoboxing.
> This would allow the new api to be closer to what people are used to from other languages,
> needs far less typing and IDE autocomplete of available functions pr type with "->".
I would also prefer autoboxing, at least for arrays and strings
(unsure about numbers). Would also be cool with some resources e.g. gd
library.