note 36112 added to function.explode
| From: | iubito at rn2 dot php dot net | Date: | Fri, 26 Sep 2003 04:14:07 +0000 |
| Subject: | note 36112 added to function.explode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-57148@lists.php.net to get a copy of this message | ||
sorry, I didn't understand well how to submit a new feature request... It's not so clear
on the page. (note that the link for request goes to bug database :( an error?)
is it possible for next version to have a negative limit for explode ?
e.g.
<?php
$var = explode('/', '/path/to/dir/foo/bar/index.php', -1);
?>
will return $var = Array([0] => index.php)
----
Manual Page -- http://www.php.net/manual/en/function.explode.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36112
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36112&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36112&report=yes