Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14803 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56766 invoked by uid 1010); 10 Feb 2005 18:56:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 56736 invoked from network); 10 Feb 2005 18:56:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Feb 2005 18:56:58 -0000 X-Host-Fingerprint: 216.145.54.173 mrout3.yahoo.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from ([216.145.54.173:34938] helo=mrout3.yahoo.com) by pb1.pair.com (ecelerity HEAD (r4105:4106)) with SMTP id AC/71-27256-57EAB024 for ; Thu, 10 Feb 2005 13:56:53 -0500 Received: from bourbon.corp.yahoo.com (bourbon.corp.yahoo.com [216.145.53.135]) by mrout3.yahoo.com (8.13.1/8.13.1/y.out) with ESMTP id j1AIu2Lq088487; Thu, 10 Feb 2005 10:56:02 -0800 (PST) Received: (from andrei@localhost) by bourbon.corp.yahoo.com (8.12.9/8.11.1) id j1AIu1l9064482; Thu, 10 Feb 2005 10:56:01 -0800 (PST) (envelope-from andrei@gravitonic.com) X-Authentication-Warning: bourbon.corp.yahoo.com: andrei set sender to andrei@gravitonic.com using -f Date: Thu, 10 Feb 2005 10:56:01 -0800 To: Ante Drnasin Cc: internals@lists.php.net Message-ID: <20050210185558.GA64423@gravitonic.com> References: <20050207141916.21665.qmail@lists.php.net> <1062509740.20050209103014@marcus-boerger.de> <20050209110525.1936.qmail@lists.php.net> <20050209164713.GC25360@gravitonic.com> <20050210080546.52065.qmail@lists.php.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050210080546.52065.qmail@lists.php.net> User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] Autoboxing in php 5.1 From: andrei@gravitonic.com (Andrei Zmievski) On Thu, 10 Feb 2005, Ante Drnasin wrote: > >Why? > > > >- Andrei > > Why not? > > Because it would be a great asset to the new OOP model in PHP 5.... You did't answer my question. Why? > Because the new OOP model is great and I don't think it shouldn't stop > there.... Why? > Because it would be great if the choice is left to the end user... Why? > > We already have OOP freaks (including this one) and I just love the idea > to have something like > > function Add($a, $b) { > return new Float($a+$b); > } Why? > > print(Add(new Integer(5), new Float(5.7))); Why? - Andrei