Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48042 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66963 invoked from network); 21 Apr 2010 14:18:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Apr 2010 14:18:55 -0000 Authentication-Results: pb1.pair.com header.from=jacob@oettinger.dk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jacob@oettinger.dk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oettinger.dk from 209.85.219.215 cause and error) X-PHP-List-Original-Sender: jacob@oettinger.dk X-Host-Fingerprint: 209.85.219.215 mail-ew0-f215.google.com Received: from [209.85.219.215] ([209.85.219.215:38706] helo=mail-ew0-f215.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 90/C6-63467-E490FCB4 for ; Wed, 21 Apr 2010 10:18:55 -0400 Received: by ewy7 with SMTP id 7so1832405ewy.11 for ; Wed, 21 Apr 2010 07:18:52 -0700 (PDT) Received: by 10.213.74.142 with SMTP id u14mr4315998ebj.72.1271859531955; Wed, 21 Apr 2010 07:18:51 -0700 (PDT) Received: from [10.0.1.10] (1307ds1-noe.0.fullrate.dk [90.184.9.39]) by mx.google.com with ESMTPS id 15sm5272134ewy.0.2010.04.21.07.18.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 21 Apr 2010 07:18:50 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii X-Priority: 3 In-Reply-To: <52D97E557393477BB08167B13DEF4679@pc> Date: Wed, 21 Apr 2010 16:18:47 +0200 Cc: "Stanislav Malyshev" , "Adi Nita" , Content-Transfer-Encoding: quoted-printable Message-ID: References: <4BCE44B8.6060600@zend.com> <52D97E557393477BB08167B13DEF4679@pc> To: Stan Vassilev X-Mailer: Apple Mail (2.1078) Subject: Re: [PHP-DEV] A critique of PHP 6 From: jacob@oettinger.dk (Jacob Oettinger) On 21/04/2010, at 16.03, Stan Vassilev wrote: >=20 > Ahem. We all secretly know how it should've been from the very start. = Pseudo-methods for the basic types. >=20 > $array->merge($array2); > $string->len(); >=20 Yes. Maybe implemented so that they can be called like functions in a = namespace for each type with the "this" value as the first param. So = that: $array->merge($array2); <=3D> \array\merge($array, $array2); and=20 \string\len($string); <=3D> $string->len(); Regards, Jacob=