Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71617 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30445 invoked from network); 26 Jan 2014 23:57:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2014 23:57:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=are.you.winning@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=are.you.winning@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.51 as permitted sender) X-PHP-List-Original-Sender: are.you.winning@gmail.com X-Host-Fingerprint: 209.85.216.51 mail-qa0-f51.google.com Received: from [209.85.216.51] ([209.85.216.51:47303] helo=mail-qa0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 97/AA-12631-6D0A5E25 for ; Sun, 26 Jan 2014 18:57:10 -0500 Received: by mail-qa0-f51.google.com with SMTP id f11so6575805qae.10 for ; Sun, 26 Jan 2014 15:57:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=4Xft9TA2OYqsmFTdTqADFLZxdpJlTKu0FYK/7vD+xWg=; b=PaZkywsJoWNd65iMUbkGMTd4SzNZdr5GRt5b4LLE1IAzNuTzjLiRDy5S+x2MVx68C4 KWwbIJk7i+zraqtb5r6IbxUqqdBgGBDcAqhjszF1XsyKLGjeraezgLr4IXfRo5hBOJ10 BFp3YQteQ3k85uLn6oiFDhDieFVhscFmuewOs8SVXvWgGCIGkasA7WDQYyCpwNbZLsTS Vki1smVPlf5//unhcDgKIhnGJx2aR0oWmWjlrHOETf+V5ZM0lGChpdQbTmx1cHMWwle8 jukoOPnJkS0hr5+DKMXDy5qHkPBExxbOs4fnYgcKd4YAQy5tZlcziYl6aEJDyxWpgxU3 C8Hw== MIME-Version: 1.0 X-Received: by 10.140.22.41 with SMTP id 38mr35876950qgm.59.1390780627791; Sun, 26 Jan 2014 15:57:07 -0800 (PST) Sender: are.you.winning@gmail.com Received: by 10.229.240.193 with HTTP; Sun, 26 Jan 2014 15:57:07 -0800 (PST) In-Reply-To: <52E59BE8.7070202@sugarcrm.com> References: <52E55D0F.3030308@ajf.me> <52E59BE8.7070202@sugarcrm.com> Date: Sun, 26 Jan 2014 23:57:07 +0000 X-Google-Sender-Auth: -1byfj4ZjS_FbLMByeRNMtWpFZc Message-ID: To: Stas Malyshev Cc: Chris Wright , Andrea Faulds , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] PHP and case-sensitivity inconsistency in PHP 6 From: daverandom@php.net (Chris Wright) On 26 January 2014 23:36, Stas Malyshev wrote: > What would function_exists('Foo') return when foo() is defined? > > If false, then this code: > > if (!function_exists('Foo')) { > function Foo() { ... } > } > > would not work. If true, then this code: > > if(function_exists('Foo')) { > Foo(); > } This point is both valid and annoying :-P This indeed cannot work. > My opinion is if we go case-sensitive, it must be full case sensitivity, > no exceptions. Given the above, +1 Thanks, Chris