php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #11084 strings
Submitted: 2001-05-24 08:32 UTC Modified: 2001-05-24 13:37 UTC
From: andrus at vnet dot ee Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.5 OS: all
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: andrus at vnet dot ee
New email:
PHP Version: OS:

 

 [2001-05-24 08:32 UTC] andrus at vnet dot ee
Hi there :)

I hope i writing this mail to right place :)

When will be implemented case insensitive str_replace?
In to-do list its in long time already..

Also, php is missing (at least i havent found yet) one string matching function (most ppl not deal goodly with regexes, me too :\ )
Example: to match "abcdef" with mask "*cd*" and "ab?def" ... and so on, with wildcards.

Addionally, one thing would be great too in PHP, its like in C is in types.h ... functions isprint (char *c), isdigit (char *c) and so on ...


Andrus

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-24 13:37 UTC] derick@php.net
These kinds of matches are very easy with regular expressions:

preg_replace ("/*.cd*./", ....); for *cd*
and
preg_replace ("/abc.ef/", ....); for abc?ef

The isdigit functions are already implemented:

www.php.net/ctype
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 02:01:28 2025 UTC