Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71762 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6087 invoked from network); 29 Jan 2014 23:02:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jan 2014 23:02:56 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.50 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.50 mail-wg0-f50.google.com Received: from [74.125.82.50] ([74.125.82.50:50855] helo=mail-wg0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 07/79-52228-F9889E25 for ; Wed, 29 Jan 2014 18:02:56 -0500 Received: by mail-wg0-f50.google.com with SMTP id l18so4920866wgh.29 for ; Wed, 29 Jan 2014 15:02:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=RuwpPjKFRhNIGedq/tMCDbgxhBUDFwkAgvDnqa9NFqg=; b=LwTovkArreixky0Q5cml7MNrJRI3DVeKkpsTE3dq6pyQbCnq/UHU1w8N+DI8w1G7iK 8w2ovB9Lmh5BvC574clFgcmtA/87Mrsn+IbdvjI1eDWlsIjY1fESfw9s6h+zU8mWbt3P Qvv1yTbdX0FjBp2n/MNxuNpolEsya9M8Hnsc17lt1Vu1VmDBFtGu8M0abL5WwdnwhwrY BdoN7mKor8S+29LXE/O3AYykdWopNkVxPZJot7SZ/FgKZhbmve0iwdbv33tXsX2aXAIn Gqej/y/bVCmMqKE+YtAJVzVmbUJeDHmUNmslHA4wy0BfM28R7PHO4ytrdKpTcyIv6UCG Y65Q== X-Received: by 10.180.24.37 with SMTP id r5mr21104154wif.9.1391036573212; Wed, 29 Jan 2014 15:02:53 -0800 (PST) Received: from [192.168.0.2] (cpc19-brig17-2-0-cust25.3-3.cable.virginm.net. [81.101.201.26]) by mx.google.com with ESMTPSA id fo6sm8434796wib.7.2014.01.29.15.02.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Jan 2014 15:02:52 -0800 (PST) Message-ID: <52E98896.5000406@gmail.com> Date: Wed, 29 Jan 2014 23:02:46 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: internals@lists.php.net References: <52E8C097.6080208@lsces.co.uk> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] some thoughts about php 6 From: rowan.collins@gmail.com (Rowan Collins) On 29/01/2014 11:22, Kingsquare.nl - Robin Speekenbrink wrote: > If people are really adamant in creating OO versions of string / array > functions: nothing stops them from doing that in userspace today. While it's possible to do in *extensions* (as someone else linked to), there's no way you could make anything remotely like this work in userspace: $foo = 'Hello World'; $foo .= '!'; echo $foo->length; I think that's more like what people mean by "OO-style strings". -- Rowan Collins [IMSoP]