> 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.

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

Reply via email to