summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2000-05-30 15:44:26 +0000
committerAndrei Zmievski <andrei@php.net>2000-05-30 15:44:26 +0000
commit7fcaa66bcd5277df5826f05ab99288e04ba8ac64 (patch)
tree92348102cccacb4a542a3122b47c1ef871d8dbef /TODO
parentc6449f307aaf604295d5429ac0611a9307d142bb (diff)
downloadphp-git-7fcaa66bcd5277df5826f05ab99288e04ba8ac64.tar.gz
Finally figured out what pathinfo() was all about.
Diffstat (limited to 'TODO')
-rw-r--r--TODO14
1 files changed, 13 insertions, 1 deletions
diff --git a/TODO b/TODO
index 98c3492e93..084f63529d 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.