3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getFormattedData() { $data = '@@'; return call_user_func_array( 'sprintf', array_merge( array(str_repeat('%08b', strlen($data))), array_values(unpack('C*', $data)) ) ); } echo getFormattedData();

preferences:
41.2 ms | 402 KiB | 5 Q