3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo microtime(true) . '<br>'; echo mktime();
Output for 7.0.32, 7.1.8, 7.1.17, 7.1.22, 7.1.33, 7.2.19 - 7.2.21, 7.2.24, 7.3.5 - 7.3.6, 7.4.1
1499924216.0002<br> Deprecated: mktime(): You should be using the time() function instead in /in/O30rt on line 4 1499924216
Output for 7.0.0 - 7.0.31, 7.0.33, 7.1.0 - 7.1.7, 7.1.9 - 7.1.16, 7.1.18 - 7.1.21, 7.1.23 - 7.1.32, 7.2.0 - 7.2.18, 7.2.22 - 7.2.23, 7.2.25 - 7.2.26, 7.3.0 - 7.3.4, 7.3.7 - 7.3.8, 7.3.10 - 7.3.13, 7.4.0
1499924216.0001<br> Deprecated: mktime(): You should be using the time() function instead in /in/O30rt on line 4 1499924216
Output for 7.3.9
1499924216.0003<br> Deprecated: mktime(): You should be using the time() function instead in /in/O30rt on line 4 1499924216
Output for 5.6.0 - 5.6.14, 5.6.16 - 5.6.29, 5.6.31 - 5.6.40
1499924216.0001<br> Strict Standards: mktime(): You should be using the time() function instead in /in/O30rt on line 4 1499924216
Output for 5.6.30
1499924217.0001<br> Strict Standards: mktime(): You should be using the time() function instead in /in/O30rt on line 4 1499924217
Output for 5.6.15
1499924216.0002<br> Strict Standards: mktime(): You should be using the time() function instead in /in/O30rt on line 4 1499924216

preferences:
98.96 ms | 401 KiB | 157 Q