Re: Autoboxing in PHP

From: Date: Tue, 04 May 2010 14:12:22 +0000
Subject: Re: Autoboxing in PHP
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-48197@lists.php.net to get a copy of this message
Hi, On Tue, May 4, 2010 at 5:48 AM, Moriyoshi Koizumi <mozo@mozo.jp> wrote: > Hey, > > Just to let you know about a new RFC for adding autoboxing feature in PHP. > Look at http://wiki.php.net/rfc/autoboxing . It looks like a very interesting idea. However, I believe that we should learn from the __autoload experience: It does not cope well with multiple projects. I'd rather have register_autoboxer($callback) or even register_autoboxer("type", $callback); for instance, so that many projects could have their own autoboxer. Best, > > Regards, > Moriyoshi > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Etienne Kneuss http://www.colder.ch

« previous php.internals (#48197) next »