3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo(strtotime(date('Y-m-d', strtotime("+" . self::PERIOD_DAY, time())) . ' 03:01:00')); ?>
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.26, 7.3.0 - 7.3.13, 7.4.0 - 7.4.1
Fatal error: Uncaught Error: Cannot access self:: when no class scope is active in /in/fhcMJ:3 Stack trace: #0 {main} thrown in /in/fhcMJ on line 3
Process exited with code 255.
Output for 5.6.0 - 5.6.40
Fatal error: Cannot access self:: when no class scope is active in /in/fhcMJ on line 3
Process exited with code 255.

preferences:
131.45 ms | 401 KiB | 157 Q