3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
0 0
Output for 5.0.2
4294967295 9223372036854775807