3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'this is é a test'; foreach(preg_split('//u', $str, -1, PREG_SPLIT_NO_EMPTY) as $char) { echo bin2hex($char) . ' '; }
Output for 7.1.25 - 7.3.1
74 68 69 73 20 69 73 20 c3a9 20 61 20 74 65 73 74