note 72616 added to function.str-ireplace
| From: | admin | Date: | Fri, 26 Jan 2007 10:21:55 +0000 |
| Subject: | note 72616 added to function.str-ireplace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-122217@lists.php.net to get a copy of this message | ||
I created this for a client that does the job more-or-less
if (!function_exists(str_ireplace)) {
// Running a Php Version less than 5...
function str_ireplace($torep, $replace, $text) {
return str_replace(strtolower($terep), strtolower($replace), strtolower($text));
}
}
Mark
----
Server IP: 85.116.0.130
Probable Submitter: 82.39.163.33
----
Manual Page -- http://www.php.net/manual/en/function.str-ireplace.php
Edit -- https://master.php.net/note/edit/72616
Del: integrated -- https://master.php.net/note/delete/72616/integrated
Del: useless -- https://master.php.net/note/delete/72616/useless
Del: bad code -- https://master.php.net/note/delete/72616/bad+code
Del: spam -- https://master.php.net/note/delete/72616/spam
Del: non-english -- https://master.php.net/note/delete/72616/non-english
Del: in docs -- https://master.php.net/note/delete/72616/in+docs
Del: other reasons-- https://master.php.net/note/delete/72616
Reject -- https://master.php.net/note/reject/72616
Search -- https://master.php.net/manage/user-notes.php