Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31581 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15967 invoked by uid 1010); 15 Aug 2007 14:27:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15952 invoked from network); 15 Aug 2007 14:27:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2007 14:27:47 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.190 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: 209.85.198.190 rv-out-0910.google.com Received: from [209.85.198.190] ([209.85.198.190:46255] helo=rv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6F/40-13383-16D03C64 for ; Wed, 15 Aug 2007 10:27:47 -0400 Received: by rv-out-0910.google.com with SMTP id k15so1785255rvb for ; Wed, 15 Aug 2007 07:27:42 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BdfzQJ/IyQhDq987rc4ysPh6z3i6Wb45KQiFDxMYMb9alwq9Ta9jYLD7TZIIK25BnGND2k7mqbPZRTqzJw0KNSrelIViH5M1SG6YXqoRNnv8yv0eyOJHN3o6/GBoyXoBou4L2XNRJzGsXLrj1Su83TPWU2uuZMqxYtddaQuUafo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WIIPL8J09lqnf3ywmjktdH60oW76bDCbF2hoz0kW+VvO6ARdziH4FpScnzMzPCwpxceqXFhcle6BVdaixN2LPf/dwiLgTckj/1hjLuFaUXxAt2yMUQRFn0T80ZWNWaWrYwdOysDR/TdNlBpmcc+vsl7C5Lc1/qvtuPnnc5GnXtk= Received: by 10.141.15.19 with SMTP id s19mr202042rvi.1187188061803; Wed, 15 Aug 2007 07:27:41 -0700 (PDT) Received: by 10.140.252.15 with HTTP; Wed, 15 Aug 2007 07:27:41 -0700 (PDT) Message-ID: <7f3ed2c30708150727g446927bm95fc35dd9cf5ed78@mail.gmail.com> Date: Wed, 15 Aug 2007 16:27:41 +0200 To: "Alain Williams" Cc: "PHP Developers Mailing List" In-Reply-To: <20070815134322.GK7300@mint.phcomp.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46C30190.2060106@pooteeweet.org> <20070815134322.GK7300@mint.phcomp.co.uk> Subject: Re: [PHP-DEV] reserved word alert From: hannes.magnusson@gmail.com ("Hannes Magnusson") On 8/15/07, Alain Williams wrote: > On Wed, Aug 15, 2007 at 03:37:20PM +0200, Lukas Kahwe Smith wrote: > > Hi, > > > > 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). Where did you get that idea? > So: nice simple rule - include a capital letter in all your variable/function/... functions, classnames and methods.... are case-insensitive. Only variables are case-sensitive. -Hannes