diff --git a/TODO b/TODO index 98c3492e937..084f63529de 100644 --- a/TODO +++ b/TODO @@ -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.