Bug #3457 Updated: Function requests
| From: | sterling@php.net | Date: | Thu, 06 Sep 2001 20:54:01 +0000 |
| Subject: | Bug #3457 Updated: Function requests | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-65284@lists.php.net to get a copy of this message | ||
ID: 3457
Updated by: sterling
Reported By: shevek@anarres.org
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0
New Comment:
added (except for regcomp(), but you'll see a warning if eregi is passed an invalid regex).
Previous Comments:
------------------------------------------------------------------------
[2001-02-10 14:08:17] jimw@php.net
whoops, didn't mean to close.
------------------------------------------------------------------------
[2001-02-10 14:06:54] jimw@php.net
refiled against 4.0.
------------------------------------------------------------------------
[2000-02-11 18:54:37] shevek@anarres.org
Suggestions for functions:
Perl-like 'grep' to return a new array containing all elements for which func() returns
true.
Perl-like 'map' to return a new array containing return values of func() for each element.
(array_walk is nearly this, I think)
regcomp()-like function which will tell if a user-supplied regexp is valid and if not, why not.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=3457&edit=1