Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52976 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92906 invoked from network); 5 Jun 2011 21:22:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2011 21:22:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.199.177.89 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 212.199.177.89 il-mr1.zend.com Received: from [212.199.177.89] ([212.199.177.89:59045] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D2/23-26000-B73FBED4 for ; Sun, 05 Jun 2011 17:22:04 -0400 Received: from il-gw1.zend.com (unknown [10.1.1.22]) by il-mr1.zend.com (Postfix) with ESMTP id 91517606DB; Mon, 6 Jun 2011 00:20:57 +0300 (IDT) Received: from IL-EX2.zend.net ([fe80::60b2:93c9:cabf:4659]) by il-ex2.zend.net ([fe80::60b2:93c9:cabf:4659%15]) with mapi id 14.01.0255.000; Mon, 6 Jun 2011 00:21:42 +0300 To: dukeofgaming , Chris Stockton CC: Jordi Boggiano , Sean Coates , PHP internals Thread-Topic: [PHP-DEV] Object and Array Literals Thread-Index: AQHMIyBDp6CkkHrm00Sdfk0BneZNWJSvD5cAgAACOACAAAHUgIAAMw4A Date: Sun, 5 Jun 2011 21:21:41 +0000 Message-ID: <887FE7CFF6F8DE4BB3A9535F53AFD06A49306440@il-ex2.zend.net> References: <084D2F1E-87E7-44CF-B8B6-47A250AD928D@seancoates.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [212.199.177.84] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] Object and Array Literals From: zeev@zend.com (Zeev Suraski) > -----Original Message----- > From: dukeofgaming [mailto:dukeofgaming@gmail.com] > Sent: Monday, June 06, 2011 12:18 AM > To: Chris Stockton > Cc: Jordi Boggiano; Sean Coates; PHP internals > Subject: Re: [PHP-DEV] Object and Array Literals >=20 > I like the idea of supporting both "=3D>" and ":". Would this work?: >=20 > $foo =3D { > 'bar' : function(){ > echo 'baz'; > } > }; >=20 > $foo->bar(); I guess it's not yet too late to surpass Perl in the front of obscurity... Zeev