note 88284 added to function.mb-eregi-replace

From: Date: Mon, 19 Jan 2009 09:44:06 +0000
Subject: note 88284 added to function.mb-eregi-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-149436@lists.php.net to get a copy of this message
I think that there is only one problem with transliteration function submited by "cat at feelthehouse dot ru". The proper function that must be used in this case is mb_ereg_replace because: 1. it is case sensitive 2. $replacement array, contains transliteration for small and upper case letters, so it's supposed to convert both small and upper case letters. 3. mb_eregi_replace is ignoring case resulting only small letters output. ---- Server IP: 89.190.194.18 Probable Submitter: 93.152.158.227 ---- Manual Page -- http://www.php.net/manual/en/function.mb-eregi-replace.php Edit -- https://master.php.net/note/edit/88284 Del: integrated -- https://master.php.net/note/delete/88284/integrated Del: useless -- https://master.php.net/note/delete/88284/useless Del: bad code -- https://master.php.net/note/delete/88284/bad+code Del: spam -- https://master.php.net/note/delete/88284/spam Del: non-english -- https://master.php.net/note/delete/88284/non-english Del: in docs -- https://master.php.net/note/delete/88284/in+docs Del: other reasons-- https://master.php.net/note/delete/88284 Reject -- https://master.php.net/note/reject/88284 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#149436) next »