Re: PHP-4.0.7RC1
| From: | Rasmus Lerdorf | Date: | Thu, 16 Aug 2001 17:02:26 +0000 |
| Subject: | Re: PHP-4.0.7RC1 | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-3480@lists.php.net to get a copy of this message | ||
> I compiled and ran the Apache APXS module for PHP-4.0.7RC1 :
>
> - dirname() seems to have changed behavior.
The dirname() code has not changed since 4.0.3
> BEFORE : dirname($PHP_SELF) = dir/
> NOW : dirname($PHP_SELF) = /dir
Are you sure that it returned dir/ before? That seems very wrong to me.
The current behaviour is also consistent with the C library implementation
which strips any trailing slash.
-Rasmus