Re: Coding Standards

From: Date: Tue, 29 Jun 2004 20:23:20 +0000
Subject: Re: Coding Standards
References: 1 2 3 4 5  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4550@lists.php.net to get a copy of this message
Hi Aidan: On Wed, Jun 23, 2004 at 06:13:44AM +1000, Aidan Lister wrote: > > But, using basename() doesn't speed that up at all. You'd still be left > > with a relative path, which relies on searching the include path. > > I think basename would not return a relative path with __FILE__, basename() returns the name of the file, not the path to the file, for example, basename('foo/bar.php') returns "bar.php". Enjoy, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.pear.doc (#4550) next »