3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $n = unpack('nhi/Crelo', md5('className'.'2026', true)); var_dump($n);
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(2) { ["hi"]=> int(15918) ["relo"]=> int(29) }
Output for 4.3.2 - 4.4.9
Warning: Wrong parameter count for md5() in /in/MS87j on line 2 Warning: unpack(): Type n: not enough input, need 2, have 0 in /in/MS87j on line 2 bool(false)
Output for 4.3.0 - 4.3.1
Warning: Wrong parameter count for md5() in /in/MS87j on line 2 Warning: unpack() [http://www.php.net/function.unpack]: Type n: not enough input, need 2, have 0 in /in/MS87j on line 2 bool(false)