Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48202 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49693 invoked from network); 4 May 2010 15:15:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 May 2010 15:15:33 -0000 Authentication-Results: pb1.pair.com header.from=brian@moonspot.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=brian@moonspot.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain moonspot.net designates 72.5.90.27 as permitted sender) X-PHP-List-Original-Sender: brian@moonspot.net X-Host-Fingerprint: 72.5.90.27 smtp.dealnews.com Linux 2.5 (sometimes 2.4) (4) Received: from [72.5.90.27] ([72.5.90.27:42990] helo=smtp.dealnews.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/57-12067-D0A30EB4 for ; Tue, 04 May 2010 11:15:30 -0400 Received: (qmail 9075 invoked from network); 4 May 2010 15:15:12 -0000 Received: from unknown (HELO mail.dealnews.com) (10.1.10.7) by -H with ESMTPS (DHE-RSA-AES256-SHA encrypted); 4 May 2010 15:15:12 -0000 Received: (qmail 22554 invoked from network); 4 May 2010 15:15:19 -0000 Received: from h105.248.18.98.static.ip.windstream.net (HELO macdough.local) (brianm@98.18.248.105) by -H with ESMTPA; 4 May 2010 15:15:19 -0000 Message-ID: <4BE03A07.1030504@moonspot.net> Date: Tue, 04 May 2010 10:15:19 -0500 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Moriyoshi Koizumi CC: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Autoboxing in PHP From: brian@moonspot.net (Brian Moon) On 5/3/10 10:48 PM, Moriyoshi Koizumi 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 . I liken this to pecl/runkit. "For all those things you.... probably shouldn't have been doing anyway". It will create a world where scripts are not portable. And if you need that for your internal project, that is fine. But, having this as part of the PHP core would be a disaster. This is even more heinous than __autoload(), IMO. SPL fixed this for autoload. I would support an SPL extenstion to treat primitive types as SPL objects. They are standardized. Not random. Brian. -------- brianlmoon@php.net http://brian.moonspot.net/