Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7116 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68894 invoked by uid 1010); 14 Jan 2004 21:47:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68848 invoked from network); 14 Jan 2004 21:47:58 -0000 Received: from unknown (HELO arkady.horde.org) (199.175.137.151) by pb1.pair.com with SMTP; 14 Jan 2004 21:47:58 -0000 Received: from marina.horde.org (h0008744172ed.ne.client2.attbi.com [65.96.177.110]) by arkady.horde.org (Postfix) with ESMTP id C124B112 for ; Wed, 14 Jan 2004 13:47:56 -0800 (PST) Received: by marina.horde.org (Postfix, from userid 33) id 3E8477F007; Wed, 14 Jan 2004 16:46:51 -0500 (EST) Received: from cmb-nat1.smarterliving.net (cmb-nat1.smarterliving.net [65.112.23.131]) by marina.horde.org (Horde) with HTTP for ; Wed, 14 Jan 2004 16:46:51 -0500 Message-ID: <20040114164651.xyd0c8kwk4cgs0oc@marina.horde.org> Date: Wed, 14 Jan 2004 16:46:51 -0500 To: internals@lists.php.net References: <20040114211754.14101.qmail@pb1.pair.com> <1312030094312.20040114224407@marcus-boerger.de> In-Reply-To: <1312030094312.20040114224407@marcus-boerger.de> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs Subject: Re: [PHP-DEV] is get_class() case-sensitive now? From: chuck@horde.org (Chuck Hagenbuch) > > 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. is_a($a, 'parserDesc') would work for you in both 4 and 5 (well, I assume in 5). -chuck -- Charles Hagenbuch, "Here, I brought some cole slaw. It's made from peeeooople! Just kidding."