Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php print string as bytes

<?php
$var = "nÖ§9q1Fª£ˆæÓ§Œ_»—Ló]j";

for($i = 0; $i < strlen($var); $i++)
{
   echo ord($var[$i])."<br/>";
}
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #print #string #bytes
ADD COMMENT
Topic
Name
6+4 =