Re: Tiny pathinfo() patch
| From: | Marcus Boerger | Date: | Sat, 15 Jul 2006 10:35:35 +0000 |
| Subject: | Re: Tiny pathinfo() patch | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-24388@lists.php.net to get a copy of this message | ||
Hello Tobias,
looks good after the update. Can you provide a patch for HEAD too?
also please provide patches with "cvs di -upd".
best regards
marcus
Friday, July 14, 2006, 9:30:48 PM, you wrote:
> Hi all!
> It occured several times in the past weeks, where I needed the filename
> without extension as well as the file extension extracted from a
> pathname. Since first calling pathinfo() and then basename() again, or
> using string manipulation, I now patched pathinfo() to provide the
> filename without extension per default with key "filename".
> Find the patch here: http://schlitt.info/misc/pathinfo.patch
> The patch is against 5_2.
> Maybe someone considers that useful as well?
> Regards,
> Toby
> --
> Tobias Schlitt - Zend Certified Engineer GPG Key: 0xC462BC14
> a passion for php
> http://www.schlitt.info
> Like to say "thank you"? -
> http://pear.php.net/wishlist.php/toby
Best regards,
Marcus