note 103923 deleted from function.str-ireplace by danbrown

From: Date: Wed, 11 May 2011 15:40:35 +0000
Subject: note 103923 deleted from function.str-ireplace by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-179619@lists.php.net to get a copy of this message
Note Submitter: me at NOSPAM dot robert-lerner dot com ---- This function is not available in PHP 4 (if for, whatever reason, you're still using that). Simple workaround: <?PHP $var = str_replace(strtoupper("replacethis"),strtoupper("withthis"),$inthis); ?> Common sense really, but for those who aren't aware of this and using an old PHP version.

« previous php.notes (#179619) next »