note 61080 deleted from function.str-replace by nlopess

From: Date: Mon, 06 Mar 2006 19:00:30 +0000
Subject: note 61080 deleted from function.str-replace by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-104926@lists.php.net to get a copy of this message
Note Submitter: ---- vlatko dot surlan could use that king of code presentation to have a visual pairs : <? function str2upper($string) { return str_replace( array('á','à','â','&#259;','ä', 'é','è','ê','&#283;','ë','&#281;', [...]) , array('Á','À','Â','&#258;','Ä', 'É','È','Ê','&#282;','Ë','&#280;', [...]) , strtoupper($string) ) ; } ?>

« previous php.notes (#104926) next »