3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $n = unpack('N', md5(2025, true)); $x = array_pop($n);
Output for 5.0.0 - 7.1.0
Output for 4.3.2 - 4.4.9
Warning: Wrong parameter count for md5() in /in/2AREh on line 2 Warning: unpack(): Type N: not enough input, need 4, have 0 in /in/2AREh on line 2 Warning: array_pop(): The argument should be an array in /in/2AREh on line 3
Output for 4.3.0 - 4.3.1
Warning: Wrong parameter count for md5() in /in/2AREh on line 2 Warning: unpack() [http://www.php.net/function.unpack]: Type N: not enough input, need 4, have 0 in /in/2AREh on line 2 Warning: array_pop() [http://www.php.net/function.array-pop]: The argument should be an array in /in/2AREh on line 3