Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41765 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61752 invoked from network); 7 Nov 2008 21:04:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Nov 2008 21:04:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=sv_forums@fmethod.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sv_forums@fmethod.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fmethod.com from 69.16.228.148 cause and error) X-PHP-List-Original-Sender: sv_forums@fmethod.com X-Host-Fingerprint: 69.16.228.148 unknown Linux 2.4/2.6 Received: from [69.16.228.148] ([69.16.228.148:53175] helo=host.fmethod.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/AE-02726-55DA4194 for ; Fri, 07 Nov 2008 16:04:21 -0500 Received: from [83.228.56.37] (port=4975 helo=pc) by host.fmethod.com with esmtpa (Exim 4.69) (envelope-from ) id 1KyYV9-0006nK-1d for internals@lists.php.net; Fri, 07 Nov 2008 15:04:19 -0600 Message-ID: <157146F2466B4491BF1BC2FE10C4EE3E@pc> To: References: <4EA88C3A8A2747989925A5D21448FCE7@pc> <491333F2.5070105@zend.com> <91597FF883CD4BA3861A5C72134BCA56@pc> <4913C1CF.3070305@gmail.com> <1226042871.4679.23.camel@goldfinger.johannes.nop> <4913F642.6090703@invisihosting.com> <8958389FB3694464893373C7263C2EBC@pc> Date: Fri, 7 Nov 2008 23:04:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.fmethod.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - fmethod.com Subject: Re: [PHP-DEV] Call it: allow reserved words in a class or not? From: sv_forums@fmethod.com ("Stan Vassilev | FM") > Sounds like an idea for custom extension, but I doubt this would work > as a general approach. > It limits dynamic nature of php, so won't be suitable for all cases > > Did you see this extension? > http://pecl.php.net/package/automap > Just two points: 1) It doesn't need to be suitable for all cases, as you can still require/include or autoload your file exactly as today. It's an addition, not a replacement. 2) It doesn't limit the dynamic nature of PHP as those files can be generated from a script just as any text file, and will be used for large redistributable libraries, frameworks, which are more static in nature than the application code utilising them. As for the extension, I'll check it out, thanks. Regards, Stan Vassilev