3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $n = unpack('V', md5(2025, true)); echo ($n[1] << 32) + 2025;
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
-4660905445991381015
Output for 4.3.2 - 4.4.9
Warning: Wrong parameter count for md5() in /in/EXLSs on line 2 Warning: unpack(): Type V: not enough input, need 4, have 0 in /in/EXLSs on line 2 2025
Output for 4.3.0 - 4.3.1
Warning: Wrong parameter count for md5() in /in/EXLSs on line 2 Warning: unpack() [http://www.php.net/function.unpack]: Type V: not enough input, need 4, have 0 in /in/EXLSs on line 2 2025