Re: reserved word alert
| From: | Alain Williams | Date: | Wed, 15 Aug 2007 13:43:22 +0000 |
| Subject: | Re: reserved word alert | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31578@lists.php.net to get a copy of this message | ||
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).
So: nice simple rule - include a capital letter in all your variable/function/... names.
--
Alain Williams
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
Chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>