cvs: php4 / TODO

From: Date: Tue, 30 May 2000 15:44:26 +0000
Subject: cvs: php4 / TODO
Groups: php.version4 
Request: Send a blank email to php-version4+get-15943@lists.php.net to get a copy of this message
andrei Tue May 30 08:44:26 2000 EDT Modified files: /php4 TODO Log: Finally figured out what pathinfo() was all about. Index: php4/TODO diff -u php4/TODO:1.81 php4/TODO:1.82 --- php4/TODO:1.81 Mon May 29 08:55:15 2000 +++ php4/TODO Tue May 30 08:44:26 2000 @@ -73,7 +73,19 @@ ------------ * 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.

« previous php.version4 (#15943) next »