Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31582 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26535 invoked by uid 1010); 15 Aug 2007 14:48:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 26519 invoked from network); 15 Aug 2007 14:48:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2007 14:48:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=tokul@users.sourceforge.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=tokul@users.sourceforge.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain users.sourceforge.net from 213.197.162.99 cause and error) X-PHP-List-Original-Sender: tokul@users.sourceforge.net X-Host-Fingerprint: 213.197.162.99 avilys.eik.lt Linux 2.6 Received: from [213.197.162.99] ([213.197.162.99:56709] helo=avilys.eik.lt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 88/31-13383-82213C64 for ; Wed, 15 Aug 2007 10:48:10 -0400 Received: from avilys.eik.lt (avilys.local [127.0.0.1]) by avilys.eik.lt (Postfix) with ESMTP id 6216B1F514B for ; Wed, 15 Aug 2007 17:45:42 +0300 (EEST) Received: from avilys.eik.lt (avilys.local [127.0.0.1]) by avilys.eik.lt (Postfix) with ESMTP id 10A281F5149 for ; Wed, 15 Aug 2007 17:45:42 +0300 (EEST) Received: from 78.61.224.253 (NaSMail authenticated user tomas@topolis.lt) by avilys.eik.lt with HTTP; Wed, 15 Aug 2007 17:45:42 +0300 (EEST) Message-ID: <37366.78.61.224.253.1187189142.squirrel@avilys.eik.lt> In-Reply-To: <20070815134322.GK7300@mint.phcomp.co.uk> References: <46C30190.2060106@pooteeweet.org> <20070815134322.GK7300@mint.phcomp.co.uk> Date: Wed, 15 Aug 2007 17:45:42 +0300 (EEST) To: internals@lists.php.net User-Agent: NaSMail/1.2 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] reserved word alert From: tokul@users.sourceforge.net ("Tomas Kuliavas") >> Someone in the Doctrine channel just brought up the issue of having to >> look forward to ensure mid term compatibility when choosing names for >> identifiers. I guess with namespaces and other things will add new >> reserved words. I think we should have a prominent place on php.net with >> early warning for reserved words that will be in future php releases. > > No future reserved word will contain a capital letter (unless it is > entirely caps - constant). > So: nice simple rule - include a capital letter in all your > variable/function/... names. And make sure that it is not Latin capital letter i. PHP bug 18556 Some parts of interpreter are still locale aware in case insensitive comparison. Test by mike dot ditum still works in php5.2-200708151230 and 6.0-200708151230. -- Tomas