note 91682 modified in function.strtolower by danbrown

From: Date: Tue, 23 Jun 2009 02:25:10 +0000
Subject: note 91682 modified in function.strtolower by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-157255@lists.php.net to get a copy of this message
Here is my code, I made because of the accents contained in the latin languages [like the Portuguese of Brazil =)] <?php function deepLower($texto){ //Letras minúsculas com acentos $texto = strtr($texto, " ĄĆĘŁŃÓŚŹŻABCDEFGHIJKLMNOPRSTUWYZQ XVЁЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ ÂÀÁÄÃÊÈÉËÎÍÌÏÔÕÒÓÖÛÙÚÜÇ ", " ąćęłńóśźżabcdefghijklmnoprstuwyzq xvёйцукенгшщзхъфывапролджэячсмитьбю âàáäãêèéëîíìïôõòóöûùúüç "); return strtolower($texto); } ?> --was-- Here is my code, I made because of the accents contained in the latin languages [like the Portuguese of Brazil =)] <? function deepLower($texto){ //Letras minúsculas com acentos $texto = strtr($texto, " ĄĆĘŁŃÓŚŹŻABCDEFGHIJKLMNOPRSTUWYZQ XVЁЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ ÂÀÁÄÃÊÈÉËÎÍÌÏÔÕÒÓÖÛÙÚÜÇ ", " ąćęłńóśźżabcdefghijklmnoprstuwyzq xvёйцукенгшщзхъфывапролджэячсмитьбю âàáäãêèéëîíìïôõòóöûùúüç "); return strtolower($texto); } ?> http://php.net/manual/en/function.strtolower.php

« previous php.notes (#157255) next »