Re: dirname(__FILE__)
| From: | Michael Wallner | Date: | Thu, 22 Sep 2005 10:49:17 +0000 |
| Subject: | Re: dirname(__FILE__) | ||
| References: | 1 2 3 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-3068@lists.php.net to get a copy of this message | ||
Hi Martin Jansen, you wrote:
> Aside from that there is also a performance issue involved: Calling dirname()
> involves (IIRC) quite a few realpath() calls behind the scenes, which are
> relatively expensive in terms of system performance.
No, dirname() just does some string processing, but it's sill bad
because of the mentioned flexibility reasons.
Regards,
--
Michael - < mike(@)php.net >