3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $n = unpack('n/C*', md5('className'.'2026', true)); var_dump($n);
Output for 5.0.0 - 7.1.0
array(14) { [1]=> int(29) [2]=> int(191) [3]=> int(105) [4]=> int(228) [5]=> int(102) [6]=> int(194) [7]=> int(138) [8]=> int(131) [9]=> int(17) [10]=> int(222) [11]=> int(112) [12]=> int(197) [13]=> int(92) [14]=> int(60) }
Output for 4.3.2 - 4.4.9
Warning: Wrong parameter count for md5() in /in/qXOPu on line 2 Warning: unpack(): Type n: not enough input, need 2, have 0 in /in/qXOPu on line 2 bool(false)
Output for 4.3.0 - 4.3.1
Warning: Wrong parameter count for md5() in /in/qXOPu on line 2 Warning: unpack() [http://www.php.net/function.unpack]: Type n: not enough input, need 2, have 0 in /in/qXOPu on line 2 bool(false)