diff options
author | Andrei Zmievski <andrei@php.net> | 2000-05-30 15:44:26 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-05-30 15:44:26 +0000 |
commit | 7fcaa66bcd5277df5826f05ab99288e04ba8ac64 (patch) | |
tree | 92348102cccacb4a542a3122b47c1ef871d8dbef /TODO | |
parent | c6449f307aaf604295d5429ac0611a9307d142bb (diff) | |
download | php-git-7fcaa66bcd5277df5826f05ab99288e04ba8ac64.tar.gz |
Finally figured out what pathinfo() was all about.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -73,7 +73,19 @@ ext/standard ------------ * add a version number to data serialized via serialize(). * array_add(), array_uniq(). (Andrei) - * implement pathinfo() (what the heck is it?) + * implement pathinfo() + $a = pathinfo("/some/file.bla"); + + => array("dirname" => "/some/", + "basename" => "file.bla", + "extension" => "bla"); + + + We could also make it return just one part as a sting if used + like this: + + $a = pathinfo("/some/file.bla", PATHINFO_BASENAME); + * possibly modify parsing of GPC data to automatically create arrays if variable name is seen more than once. * implement regex-cache for url-functions. |