note 104012 deleted from function.strtoupper by sobak

From: Date: Thu, 17 Nov 2016 06:30:41 +0000
Subject: note 104012 deleted from function.strtoupper by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207131@lists.php.net to get a copy of this message
Note Submitter: dev dot gabiu at gmail dot com ---- This would be my short version for French characters: <?php function fullUpper($string){ return strtr(strtoupper($string), array( "à" => "À", "è" => "È", "ì" => "Ì", "ò" => "Ò", "ù" => "Ù", "á" => "Á", "é" => "É", "í" => "Í", "ó" => "Ó", "ú" => "Ú", "â" => "Â", "ê" => "Ê", "î" => "Î", "ô" => "Ô", "û" => "Û", "ç" => "Ç", )); } ?>

« previous php.notes (#207131) next »