3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo mktime()."\n"; echo time();
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.6
Deprecated: mktime(): You should be using the time() function instead in /in/dsdOe on line 3 1447153855 1447153855
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.28
Strict Standards: mktime(): You should be using the time() function instead in /in/dsdOe on line 3 1447153855 1447153855

preferences:
114.7 ms | 402 KiB | 88 Q