Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20504 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90010 invoked by uid 1010); 26 Nov 2005 08:50:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89994 invoked from network); 26 Nov 2005 08:50:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2005 08:50:37 -0000 X-Host-Fingerprint: 80.237.234.121 mail.bauer-kirch.de Linux 2.4/2.6 Received: from ([80.237.234.121:53589] helo=mail.bauer-kirch.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 2E/9D-56276-CD128834 for ; Sat, 26 Nov 2005 03:50:37 -0500 Received: (qmail 23972 invoked from network); 26 Nov 2005 08:50:32 -0000 Date: Sat, 26 Nov 2005 09:50:39 +0100 To: Marcus Boerger Cc: Matthias Pigulla , Derick Rethans , internals@lists.php.net Message-ID: <20051126085039.GA1332@trior.divbyzero.net> References: <00A2E2156BEE8446A81C8881AE117F192C1D08@companyweb> <1021295893.20051125211028@marcus-boerger.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1021295893.20051125211028@marcus-boerger.de> User-Agent: Mutt (Cray UniCOS) Subject: Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps outthere) From: mj@php.net (Martin Jansen) On Fri Nov 25, 2005 at 09:1028PM +0100, Marcus Boerger wrote: > i think you didn't understand the whole point here. Naming something > after an every day word just like 'Date' is like screaming for problems in > bigger scenarios. It is a beginners mistake to not prefix such stuff. Assuming this is correct, then not only userland code should use proper prefixes, but also the PHP language core should do so, no? Speaking of this, I like Greg's suggestion about prefixing all internal classes with PHP_. While there are certainly classes out there that are prefixed with it, we could tell developers that starting with e.g. PHP 6 the PHP_* class scope is reserved for the language core and must not be used for any other purpose. - Martin