3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(PHP_INT_MAX); var_dump(PHP_INT_SIZE); var_dump(hexdec('FFFFFFF')); var_dump(hexdec('FFFFFFFFFFFFFFF')); var_dump(hexdec('755869c2d8ad8a0')); var_dump(hexdec('755869c2d8ad8a0a15e4337804c3dec6'));
Output for 4.4.0 - 4.4.9, 5.0.5 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
int(9223372036854775807) int(8) int(268435455) int(1152921504606846975) int(528476536622995616) float(1.5597874272072E+38)
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4
Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/rTeC3 on line 3 string(11) "PHP_INT_MAX" Notice: Use of undefined constant PHP_INT_SIZE - assumed 'PHP_INT_SIZE' in /in/rTeC3 on line 4 string(12) "PHP_INT_SIZE" int(268435455) int(1152921504606846975) int(528476536622995616) float(1.5597874272072E+38)