|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 04:00:02 2025 UTC |
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