C'était pour l'exemple. Quel raleur toi alors. Si je fais des variables debut et fin c'est pas pour rien. Voila un exemple complet qui fontionne :
<?
$debut=33;
$fin=0x6FF;
echo "
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
[^] # Re: code ascii
Posté par psychoslave__ (site web personnel) . En réponse au message Lister tout les caractères existant.. Évalué à 1.
<?
$debut=33;
$fin=0x6FF;
echo "
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
";
for($i=$debut;$i<$fin;$i++){
echo "&#$i;";
}
echo "
";
?>
Bref...