3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(\PHP_INT_SIZE);
Output for 5.3.0 - 7.1.0
int(8)
Output for 4.4.0 - 4.4.9, 5.0.5 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/N3ZZP on line 3 int(8)
Output for 4.3.0 - 4.3.11, 5.0.0 - 5.0.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/N3ZZP on line 3 Notice: Use of undefined constant PHP_INT_SIZE - assumed 'PHP_INT_SIZE' in /in/N3ZZP on line 3 string(12) "PHP_INT_SIZE"