3v4l.org

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