3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php printf("%lu\n",0xffffffffffffffff);// 18446744073709551615 printf("%ld\n",0xffffffffffffffff);// -1 return 0;
Output for 4.3.0 - 5.0.1, 5.0.3 - 7.2.0
0 0
Output for 5.0.2
4294967295 9223372036854775807