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:
14
TODO
14
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.
|
||||
|
||||
Reference in New Issue
Block a user