3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( gmmktime(PHP_INT_MAX, PHP_INT_MAX, PHP_INT_MAX, PHP_INT_MAX, PHP_INT_MAX, PHP_INT_MAX), gmmktime(0, 0, PHP_INT_MAX, 1, 1, 0) );
Output for 5.2.10 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.22, 7.4.0 - 7.4.10, 8.1.0 - 8.1.29, 8.2.0 - 8.2.21, 8.3.0 - 8.3.9
int(9223371974650514995) int(-9223372035908091009)
Output for 7.3.23 - 7.3.33, 7.4.11 - 7.4.33, 8.0.0 - 8.0.30
int(-922337203655221913) int(922337203714736587)
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.9

Process exited with code 137.
Output for 4.4.0 - 4.4.9, 5.0.5
int(-62204202061) int(946684799)
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/BbvYq on line 3 Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/BbvYq on line 3 Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/BbvYq on line 3 Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/BbvYq on line 3 Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/BbvYq on line 3 Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/BbvYq on line 3 Notice: Use of undefined constant PHP_INT_MAX - assumed 'PHP_INT_MAX' in /in/BbvYq on line 4 int(-1) int(946684800)

preferences:
309.62 ms | 404 KiB | 475 Q