3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $number = 1234567890; $hex = strtoupper(dechex($number)); str_pad($hex, 9*2, "0", STR_PAD_LEFT) preg_match_all('/.{2}/', $hex, $matches); $result = array_reverse($matches[0]); var_dump($result);
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected 'preg_match_all' (T_STRING) in /in/7MuRF on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/7MuRF on line 9
Process exited with code 255.