array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.recode-string.php', 1 => 'recode_string', ), 'up' => array ( 0 => 'ref.recode.php', 1 => 'Recode İşlevleri', ), 'prev' => array ( 0 => 'function.recode-file.php', 1 => 'recode_file', ), 'next' => array ( 0 => 'function.recode.php', 1 => 'recode', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'tr', 'path' => 'reference/recode/functions/recode-string.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7 < 7.4.0)
recode_string — Yapılan isteğe bağlı olarak bir dizgeyi yeniden kodlar
Yapılan istek
isteğine bağlı olarak bir
dizge
'yi yeniden kodlar.
istek
Yeniden kodlama isteği türü.
dizge
Yeniden kodlanacak dizge.
İşlemi başaramazsa false
, aksi takdirde yeniden kodlanan dizge ile döner.
Örnek 1 - Basit bir recode_string() örneği
<?php
echo recode_string("us..flat", "The following character has a diacritical mark: á");
?>
Basit bir recode isteği de "ISO-8859-9..utf-8" olabilir.