3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $source = mb_convert_encoding('test', "unicode", "utf-8"); $source = unpack('C*', $source); var_dump($source);
Output for 4.3.0 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(8) { [1]=> int(0) [2]=> int(116) [3]=> int(0) [4]=> int(101) [5]=> int(0) [6]=> int(115) [7]=> int(0) [8]=> int(116) }