Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7115 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64391 invoked by uid 1010); 14 Jan 2004 21:46:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 64347 invoked from network); 14 Jan 2004 21:46:16 -0000 Received: from unknown (HELO shiva.mind.de) (212.42.230.204) by pb1.pair.com with SMTP; 14 Jan 2004 21:46:16 -0000 Received: from [192.168.1.100] (p508E9F02.dip.t-dialin.net [80.142.159.2]) by shiva.mind.de (Postfix) with ESMTP id BB84097B67; Wed, 14 Jan 2004 22:46:04 +0100 (CET) Date: Wed, 14 Jan 2004 22:44:07 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1312030094312.20040114224407@marcus-boerger.de> To: Greg Beaver Cc: internals@lists.php.net In-Reply-To: <20040114211754.14101.qmail@pb1.pair.com> References: <20040114211754.14101.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] is get_class() case-sensitive now? From: helly@php.net (Marcus Boerger) Hello Greg, Wednesday, January 14, 2004, 10:18:01 PM, you wrote: > Hi, > I just tried a test parse of phpDocumentor CVS using a fresh compile of > HEAD on windows xp. It went bananas with warnings and a fatal error. > Tracking down the error turned up get_class() returning "parserDesc" > instead of "parserdesc", which ruins every time I test whether > get_class($a) == 'parserdesc', for example. > 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. > 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. -- Best regards, Marcus mailto:helly@php.net