3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((int)strtotime(false) + (29 * 24 * 60 * 60), (int)strtotime('') + (29 * 24 * 60 * 60), strtotime('-31 days') + ( 29 * 24 * 60 * 60) <= time());
Output for 5.1.2 - 5.1.6, 5.2.0 - 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.38, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.25, 7.3.0 - 7.3.12, 7.4.0
int(2505600) int(2505600) bool(true)
Output for 5.1.0 - 5.1.1
int(1413414373) int(1413414373) bool(true)
Output for 5.0.1 - 5.0.5
Warning: strtotime(): Called with an empty time parameter. in /in/kqhRH on line 3 Warning: strtotime(): Called with an empty time parameter. in /in/kqhRH on line 3 int(2505599) int(2505599) bool(true)
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0
Notice: strtotime(): Called with empty time parameter in /in/kqhRH on line 3 Notice: strtotime(): Called with empty time parameter in /in/kqhRH on line 3 int(1413410400) int(1413410400) bool(true)
Output for 4.3.0 - 4.3.1
Notice: strtotime() [http://www.php.net/function.strtotime]: Called with empty time parameter in /in/kqhRH on line 3 Notice: strtotime() [http://www.php.net/function.strtotime]: Called with empty time parameter in /in/kqhRH on line 3 int(1413410400) int(1413410400) bool(true)

preferences:
207.97 ms | 401 KiB | 317 Q