3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = 'this is a test'; for($i = 0; $i < mb_strlen($input); $i++) { echo bin2hex($input[$i]); if($i < mb_strlen($input) - 1) { echo " "; } }
Output for 7.1.25 - 7.3.1
74 68 69 73 20 69 73 20 61 20 74 65 73 74