3v4l.org

run code in 300+ PHP versions simultaneously
<?php $n = '0000410075007200' . '75006d002000490054'; $f = function ($offset, $step) use ($n) { $max = strlen($n); while ($offset < $max) { yield '0x' . substr($n, $offset, 2); $offset += $step + 2; } }; foreach ($f(4,2) as $n) { echo chr($n); }

preferences:
36.99 ms | 402 KiB | 5 Q