3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(PHP_INT_MAX); var_dump(gmmktime(0,0,0,1,1,PHP_INT_MAX));
Output for 7.3.23 - 7.3.27, 7.4.11 - 7.4.16, 8.0.0 - 8.0.3
int(9223372036854775807) int(922337203685477580)
Output for 5.2.6 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.21, 7.4.0 - 7.4.10
int(9223372036854775807) int(-62198793216)
Output for 5.1.3 - 5.1.6, 5.2.0 - 5.2.5
int(9223372036854775807) bool(false)
Output for 5.1.0 - 5.1.2
int(9223372036854775807)
Process exited with code 137.
Output for 4.4.0 - 4.4.9, 5.0.5
int(9223372036854775807) int(-62198755200)
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/2esJM on line 2 string(11) "PHP_INT_MAX" Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/2esJM on line 3 int(946684800)