Bug #3457: Function requests
| From: | shevek at anarres dot org | Date: | Fri, 11 Feb 2000 17:54:37 +0000 |
| Subject: | Bug #3457: Function requests | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15385@lists.php.net to get a copy of this message | ||
From: shevek@anarres.org
Operating system: Linux
PHP version: 3.0.14
PHP Bug Type: Feature/Change Request
Bug description: Function requests
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.