Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48215 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94314 invoked from network); 5 May 2010 10:23:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 May 2010 10:23:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-ww0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:44957] helo=mail-ww0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/FB-08048-11741EB4 for ; Wed, 05 May 2010 06:23:13 -0400 Received: by wwb34 with SMTP id 34so3098099wwb.29 for ; Wed, 05 May 2010 03:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=8iWz8FBAW2ko6YBRac/6F4Zk8vMWdm5NqBtW57SJqvk=; b=cPOuleSjKG3KFD/03oKuctmmkS42bSyjWCH38/K44CUkf2ofs156Vn3LIUYr023FsY 2SqFoUTfsxP0MNypvbBYA+0Ct6bMMteqGMH6M954OduTgIYYvR38+gHl8DTV81N5SOOA sxtczTEcv817QIbwsyml/92khl4nyJoMBSjMQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=DSDm4N9ejUY3RlSZxWwr/Tu5mnByXL+lfvaTAXgtxoHSUOOzRNVf1ly9WFYG62NFfE V2Sy7ihl4HlenuDghY9/lVJ9yppET1NiLbhJSyv/vnsDBwOWfbNshyTKN30RlbkEl6BF 4HHi7ktIhsnHVQimmPWzI91W71GFMnZ2sDFsU= MIME-Version: 1.0 Received: by 10.216.88.134 with SMTP id a6mr8126623wef.66.1273054989817; Wed, 05 May 2010 03:23:09 -0700 (PDT) Received: by 10.216.163.194 with HTTP; Wed, 5 May 2010 03:23:09 -0700 (PDT) In-Reply-To: <4BE13D64.2010700@gmail.com> References: <4BE13D64.2010700@gmail.com> Date: Wed, 5 May 2010 12:23:09 +0200 Message-ID: To: Steven Van Poeck Cc: Adam Harvey , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Re: Turkish/Azeri locale support From: hannes.magnusson@gmail.com (Hannes Magnusson) On Wed, May 5, 2010 at 11:41, Steven Van Poeck wrote: > Hannes Magnusson wrote: > > 2. Make function/method names case-sensitive, per Stan's e-mail. Pros: > fixes problem; brings PHP into line with most other languages; extra > consistency with variables; possible performance improvement. Cons: BC > break from current documented behaviour. > > > There is no way this can happen. It will break massive amount of code > and will cause major headaches for people using __call(). > > -Hannes > > > > Can you give an example of *consistent* code where this evolution would > cause __call() not to function properly ? I'm afraid I can't think of any... Can you give an example of *consistent* code? Just any. Any at all. Doesn't have to be long. class Logs { function getSQLLogger() { return $this->logs["sql"]; } function __call() { return $this->logs["default"]; } } $logs->getSqlLogger()->logSql("..."); ..call to undefined method default::logSql()... -Hannes