Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21979 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97113 invoked by uid 1010); 21 Feb 2006 23:21:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97098 invoked from network); 21 Feb 2006 23:21:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Feb 2006 23:21:48 -0000 X-Host-Fingerprint: 64.142.83.254 64-142-83-254.dsl.static.sonic.net Linux 2.5 (sometimes 2.4) (4) Received: from ([64.142.83.254:42074] helo=64-142-83-254.dsl.static.sonic.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 4A/86-45151-C80ABF34 for ; Tue, 21 Feb 2006 18:21:48 -0500 Received: from localhost ([127.0.0.1] helo=localhost.localdomain) by 64-142-83-254.dsl.static.sonic.net with esmtp (Exim 4.43) id 1FBgpf-0000Z5-2K; Tue, 21 Feb 2006 15:22:11 -0800 Received: (from apache@localhost) by localhost.localdomain (8.13.1/8.13.1/Submit) id k1LNMAP8002174; Tue, 21 Feb 2006 15:22:10 -0800 X-Authentication-Warning: localhost.localdomain: apache set sender to mes@zeroc.com using -f Received: from 192.168.1.102 (SquirrelMail authenticated user mark); by 192.168.1.3 with HTTP; Tue, 21 Feb 2006 15:22:10 -0800 (PST) Message-ID: <1945.192.168.1.102.1140564130.squirrel@192.168.1.3> In-Reply-To: <56.63.45151.5379BF34@pb1.pair.com> References: <1758.192.168.1.102.1140560726.squirrel@192.168.1.3> <56.63.45151.5379BF34@pb1.pair.com> Date: Tue, 21 Feb 2006 15:22:10 -0800 (PST) To: "Michael Wallner" Cc: internals@lists.php.net User-Agent: SquirrelMail/1.4.3a-12.EL4.centos4 X-Mailer: SquirrelMail/1.4.3a-12.EL4.centos4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Re: Change to function call semantics in PHP 5.1? From: mes@zeroc.com ("Mark Spruiell") > Mark Spruiell wrote: >> In PHP 5.0.x, I can chain function calls like this: >> >> $obj->method()->anotherMethod(); >> >> In PHP 5.1.x, this code results in an error: >> >> parse error, unexpected T_OBJECT_OPERATOR in ... >> >> I've looked through the change log for 5.1 but didn't see >> anything relevant. >> >> Was this an intentional change? > > What version did you try? It seems to still work fine with current CVS. Sorry, false alarm. I thought I had 5.1.2 in my path, but it was actually 4.x. - Mark