3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( strtotime('+ 3 days'), strtotime('2012-04-08 14:23:52') );
Output for 5.6.28, 7.0.14 - 7.3.0rc6
int(1403171050) int(1333887832)
Output for 7.0.6
int(1462544132) int(1333887832)
Output for 7.0.5
int(1459910851) int(1333887832)
Output for 7.0.4
int(1457882427) int(1333887832)
Output for 7.0.3
int(1458576159) int(1333887832)
Output for 7.0.2
int(1458943768) int(1333887832)
Output for 7.0.1
int(1459041834) int(1333887832)
Output for 7.0.0
int(1459308068) int(1333887832)
Output for 5.6.21
int(1462440347) int(1333887832)
Output for 5.6.20
int(1460511903) int(1333887832)
Output for 5.6.19
int(1457651258) int(1333887832)
Output for 5.6.18
int(1458287939) int(1333887832)
Output for 5.6.17
int(1458676335) int(1333887832)
Output for 5.6.16
int(1459397357) int(1333887832)
Output for 5.6.15
int(1459486840) int(1333887832)
Output for 5.6.14
int(1459839550) int(1333887832)
Output for 5.6.13
int(1460978074) int(1333887832)
Output for 5.6.12
int(1461375505) int(1333887832)
Output for 5.6.11
int(1461658238) int(1333887832)
Output for 5.6.10
int(1461837894) int(1333887832)
Output for 5.6.9
int(1462029144) int(1333887832)
Output for 5.6.8
int(1462233291) int(1333887832)
Output for 5.5.35
int(1464186214) int(1333887832)
Output for 5.5.34
int(1460606346) int(1333887832)
Output for 5.5.33
int(1457748485) int(1333887832)
Output for 5.5.32
int(1458473936) int(1333887832)
Output for 5.5.31
int(1458772732) int(1333887832)
Output for 5.5.30
int(1459752855) int(1333887832)
Output for 5.5.29
int(1461116197) int(1333887832)
Output for 5.5.28
int(1461473356) int(1333887832)
Output for 5.5.27
int(1461566803) int(1333887832)
Output for 5.5.26
int(1461933920) int(1333887832)
Output for 5.5.25
int(1462131188) int(1333887832)
Output for 5.5.24
int(1464315639) int(1333887832)
Output for 5.4.45
int(1442838416) int(1333887832)
Output for 5.4.44
int(1440452636) int(1333887832)
Output for 5.4.43
int(1440452633) int(1333887832)
Output for 5.4.42
int(1435144025) int(1333887832)
Output for 5.4.41
int(1435144023) int(1333887832)
Output for 5.4.40
int(1435144019) int(1333887832)
Output for 5.4.39
int(1435144018) int(1333887832)
Output for 5.4.38
int(1425419289) int(1333887832)
Output for 5.4.36 - 5.4.37
int(1423459525) int(1333887832)
Output for 5.4.34 - 5.4.35
int(1416373105) int(1333887832)
Output for 5.4.32
int(1410056808) int(1333887832)
Output for 5.4.31
int(1410056807) int(1333887832)
Output for 5.3.29, 5.4.30
int(1410056804) int(1333887832)
Output for 5.4.22 - 5.4.29
int(1403171055) int(1333887832)
Output for 5.4.11 - 5.4.21
int(1403171056) int(1333887832)
Output for 5.4.1 - 5.4.10
int(1403171057) int(1333887832)
Output for 5.3.12 - 5.3.28, 5.4.0
int(1403171058) int(1333887832)
Output for 5.3.1 - 5.3.11
int(1403171059) int(1333887832)
Output for 5.2.1 - 5.3.0
int(1403171060) int(1333887832)
Output for 4.4.3 - 4.4.9, 5.0.3 - 5.0.5, 5.1.2 - 5.2.0
int(1403171061) int(1333887832)
Output for 5.1.0 - 5.1.1
bool(false) int(1333887832)
Output for 5.0.0 - 5.0.2
int(1403128800) int(1333887832)
Output for 4.3.1 - 4.4.2
int(1403171062) int(1333887832)
Output for 4.3.0
int(1442838414) int(1333887832)