Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7117 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72273 invoked by uid 1010); 14 Jan 2004 21:49:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 72245 invoked from network); 14 Jan 2004 21:49:44 -0000 Received: from unknown (HELO miranda.org) (209.58.150.153) by pb1.pair.com with SMTP; 14 Jan 2004 21:49:44 -0000 Received: (qmail 16359 invoked by uid 546); 14 Jan 2004 21:49:43 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 14 Jan 2004 21:49:43 -0000 Date: Wed, 14 Jan 2004 16:49:43 -0500 (EST) X-X-Sender: adam@miranda.org To: Marcus Boerger cc: Greg Beaver , internals@lists.php.net In-Reply-To: <1312030094312.20040114224407@marcus-boerger.de> Message-ID: References: <20040114211754.14101.qmail@pb1.pair.com> <1312030094312.20040114224407@marcus-boerger.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] is get_class() case-sensitive now? From: adam@trachtenberg.com (Adam Maccabee Trachtenberg) On Wed, 14 Jan 2004, Marcus Boerger wrote: > > This is such a huge BC break with php 4.x, I would have to fork the > > package just because of the numerous get_class() statements. You could always strtolower() them. > > Is case-sensitive get_class() here to stay? > > Yes. We now report classes, methods and functions with their real name. > Otherwise studlyCaps and such would have no sense at all. However, you still can't have class foo and class FOO, so strtolower(get_class()) still uniquely identifies a class. -adam -- adam@trachtenberg.com author of o'reilly's php cookbook avoid the holiday rush, buy your copy today!