3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $n = unpack('V', md5(2025, true)); print_r($n); echo ($n[1] << 32) + 2025;
Output for 5.0.0 - 5.2.0, 5.2.10 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Array ( [1] => 3209765681 ) -4660905445991381015
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.2.1 - 5.2.9
Array ( [1] => -1085201615 ) -4660905445991381015
Output for 4.3.2 - 4.4.9
Warning: Wrong parameter count for md5() in /in/eLT4p on line 2 Warning: unpack(): Type V: not enough input, need 4, have 0 in /in/eLT4p on line 2 2025
Output for 4.3.1
Warning: Wrong parameter count for md5() in /in/eLT4p on line 2 Warning: unpack() [http://www.php.net/function.unpack]: Type V: not enough input, need 4, have 0 in /in/eLT4p on line 2 2025
Output for 4.3.0
Warning: Wrong parameter count for md5() in /in/UJf8l on line 2 Warning: unpack() [http://www.php.net/function.unpack]: Type V: not enough input, need 4, have 0 in /in/UJf8l on line 2 2025