1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 00:22:52 +02:00

Finally figured out what pathinfo() was all about.

This commit is contained in:
Andrei Zmievski
2000-05-30 15:44:26 +00:00
parent c6449f307a
commit 7fcaa66bcd

14
TODO
View File

@@ -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.