Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49119 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84719 invoked from network); 23 Jul 2010 01:09:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jul 2010 01:09:47 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.133 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.133 smtp133.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.133] ([67.192.241.133:39344] helo=smtp133.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/D1-08584-9DBE84C4 for ; Thu, 22 Jul 2010 21:09:46 -0400 Received: from relay13.relay.dfw.mlsrvr.com (localhost [127.0.0.1]) by relay13.relay.dfw.mlsrvr.com (SMTP Server) with ESMTP id B63033130C67; Thu, 22 Jul 2010 21:09:42 -0400 (EDT) Received: by relay13.relay.dfw.mlsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 803E13130C1D; Thu, 22 Jul 2010 21:09:42 -0400 (EDT) Message-ID: <4C48EBD5.6040107@sugarcrm.com> Date: Thu, 22 Jul 2010 18:09:41 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Karoly Negyesi CC: "internals@lists.php.net" References: <730E72B7-B2C3-4FF9-8138-F04659ECDB56@php.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Remove variable function and method calls From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > classname::$foo > classname::$foo() > > mean two completely different things? The first reads a property the And classname::foo and classname::foo() means two different things too. So what? Language has its rules, learn them. It's not that hard. > If you nuke variable function calls and method calls and replace them > with call_user_func() then these go away. Short answer: No. Long answer: No way. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227