Re[2]: [PEPr] Comment on PEAR::NameScheme

From: Date: Sun, 06 Jun 2004 15:00:39 +0000
Subject: Re[2]: [PEPr] Comment on PEAR::NameScheme
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-30044@lists.php.net to get a copy of this message
>> Here $classname is ALWAYS passed in lowercase, so we need >> to manually search for class file in include_path. >> PEAR_NameScheme helps. (PEAR_NameScheme_Autoload is not >> proposed now, it is used here as example.) HL> Why do people keep saying this? As of quite awhile the classname passed HL> to __autoload() respects the case of the calling code! PHP5 has been HL> class case-respective (if not sensitive) for some time now. I'm HL> beginning to think that no one on the PEAR lists actually uses PHP5 HL> since this has been asserted several times now w/ no correction. Oh! You are absolutely right - I have used too old version of PHP5 which converts classnames to lowercase. So, algorythm of class->file conversion could be simplified a lot. -- Best regards, Dmitry Koteroff.

« previous php.pear.dev (#30044) next »