3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'This is a test'; $compressed = gzcompress('This is a test'); echo '\n\n\n'; for ($i=0; $i<strlen($compressed); $i++) { echo '['.$i.'] = '.ord($compressed[$i]).'\n'; } ?>

preferences:
31.14 ms | 402 KiB | 5 Q