[Php-it] stringa e byte

Emiliano Gabrielli (aka AlberT) AlberT at superalbert.it
Mon Jul 16 17:10:53 CEST 2007


> Emiliano Gabrielli (aka AlberT) ha scritto:
> > strtr
>
> questo lavora a livello caratteri, io devo proprio sostituire byte.
> Altre idee?


$trans = array("\x03" => "\x3F");

$text = strtr($orig_text,$trans);

perché non dovrebbe fungere ?
-- 
<?php echo '     Emiliano Gabrielli (aka AlberT)     ',"\n",
'              socio fondatore del GrUSP             ',"\n",
' AlberT_at_SuperAlberT_it   -   www.SuperAlberT.it  ',"\n",
'  IRC:    #php,#AES azzurra.com ',"\n",'ICQ: 158591185'; ?>



More information about the Php-it mailing list