11 for ($i = 0; $i < 0x100; ++$i) {
19 for ($i =
ord(
' '); $i < 0x7F; ++$i) {
24 for ($i =
ord(
'0'); $i <=
ord(
'9'); ++$i) {
25 $map[
chr(0).chr($i)] =
'\000'.chr($i);
44 echo
'"' .
strtr($chunk,
$map) .
'",' .
"\n";
str_split(string $string, int $length=1)
file_get_contents(string $filename, bool $use_include_path=false, $context=null, int $offset=0, ?int $length=null)
strtr(string $string, string|array $from, ?string $to=null)
str_pad(string $string, int $length, string $pad_string=" ", int $pad_type=STR_PAD_RIGHT)
count(Countable|array $value, int $mode=COUNT_NORMAL)
for($i=0; $i< 0x100;++$i) $map[chr(0)]
sprintf("0x%X", $numelems)