Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50592 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45955 invoked from network); 26 Nov 2010 19:36:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2010 19:36:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=felipensp@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=felipensp@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: felipensp@gmail.com X-Host-Fingerprint: 209.85.214.42 mail-bw0-f42.google.com Received: from [209.85.214.42] ([209.85.214.42:56946] helo=mail-bw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A7/4D-61791-E3C00FC4 for ; Fri, 26 Nov 2010 14:36:31 -0500 Received: by bwz13 with SMTP id 13so2169046bwz.29 for ; Fri, 26 Nov 2010 11:36:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=Z6N7uOeq/6Q91ss5mrERQYMXR1kdFqZuvpfF/5JS/Pg=; b=AfYX/w5yqKGbomyeU8D4Xgi/4sR3oWLt0iyLaszX8Jyd+FBtHTCiFK8qWEOqIYVUIw gBNMPHCOTXgw+ZrPGQPyhaii+6FhbH7renP15dhC0hF3taKJ3KjJTJI6Xj8KdH6tlO7c 4Pqt+T7V24f8ZvAfhe04Ha+B5G0Qj5OZ5qf0s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=BXEFNCpiGVfFWNFMbww8WYJZ+3dmMXBJSRxw/IN/LjQ8RudX7+6kTi6OH9bjAHt/C6 aj8ptcvy3CFZ46WPtJjcsRRafonNkn39n3lqrpyQzex5a82BEnT+gb41kG6xc5CDzoaL VxY3r/PgriD9s5efggaU7GqGJFtJTMXZjpsns= Received: by 10.204.119.75 with SMTP id y11mr2270799bkq.83.1290800187784; Fri, 26 Nov 2010 11:36:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.52.146 with HTTP; Fri, 26 Nov 2010 11:36:07 -0800 (PST) Date: Fri, 26 Nov 2010 17:36:07 -0200 Message-ID: To: internals Content-Type: multipart/alternative; boundary=0016e6d59eacab3d750495f9d6cd Subject: [RFC] new foo()->bar() From: felipensp@gmail.com (Felipe Pena) --0016e6d59eacab3d750495f9d6cd Content-Type: text/plain; charset=UTF-8 Hi all, I'm here again to presents another proposal, which adds support for instantiating a class and calling its methods and accessing its properties on same command. Example: bar()->x); // string(3) "PHP" ?> Other examples which describes the feature at http://wiki.php.net/rfc/instance-method-call Thoughts? -- Regards, Felipe Pena --0016e6d59eacab3d750495f9d6cd--