3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(E_ALL & PHP_INT_MAX);
Output for 5.4.0 - 7.1.7
int(32767)
Output for 5.3.0 - 5.3.29
int(30719)
Output for 5.2.0 - 5.2.17
int(6143)
Output for 4.4.0 - 4.4.9, 5.0.5 - 5.1.6
int(2047)
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/He8YF on line 2 int(0)