Re: Autoboxing in PHP
| From: | Daniel Egeberg | Date: | Tue, 04 May 2010 14:08:06 +0000 |
| Subject: | Re: Autoboxing in PHP | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48196@lists.php.net to get a copy of this message | ||
On Tue, May 4, 2010 at 05:48, 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 .
>
> Regards,
> Moriyoshi
Is there any reason why primitives couldn't be autoboxed to SplInt,
SplBool, etc.? These classes could maybe even be extended with method
aliases to the relevant functions in PHP's library.
--
Daniel Egeberg