3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start_time=strtotime("-15 day");//10天前 echo $start_time.'\n'; $start_time==strtotime(date('Y-m-d', $start_time)); echo $start_time;
Output for 5.6.28, 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.7, 7.2.10 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
1443429750\n1443429750
Output for 7.2.8 - 7.2.9
1443429751\n1443429751
Output for 5.4.0 - 5.4.30, 5.4.32 - 5.4.45, 5.5.0 - 5.5.37, 5.6.0 - 5.6.23, 7.0.0 - 7.0.8
1443429712\n1443429712
Output for 5.4.31
1443429713\n1443429713

preferences:
236 ms | 401 KiB | 280 Q