3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $number = 1234567890; $hex = dechex($number); preg_match_all('/.{2}/', $hex, $matches); var_dump($matches);
Output for 4.3.0 - 7.1.0
array(1) { [0]=> array(4) { [0]=> string(2) "49" [1]=> string(2) "96" [2]=> string(2) "02" [3]=> string(2) "d2" } }