php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #3457 Function requests
Submitted: 2000-02-11 18:54 UTC Modified: 2001-09-06 16:54 UTC
From: shevek at anarres dot org Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: shevek at anarres dot org
New email:
PHP Version: OS:

 

 [2000-02-11 18:54 UTC] shevek at anarres dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-10 14:06 UTC] jimw@php.net
refiled against 4.0.
 [2001-02-10 14:08 UTC] jimw@php.net
whoops, didn't mean to close.
 [2001-09-06 16:54 UTC] sterling@php.net
added (except for regcomp(), but you'll see a warning if eregi is passed an invalid regex).
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 21:01:31 2025 UTC