3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo strtotime('+1 month').PHP_EOL; echo strtotime('+2 month').PHP_EOL; echo strtotime('+40 days').PHP_EOL; echo strtotime('+50 days').PHP_EOL; echo strtotime('+90 days').PHP_EOL;
Output for 5.3.4, 5.3.11 - 5.3.12, 5.3.14 - 5.3.15, 5.3.19, 5.3.22, 5.3.24, 5.3.27 - 5.3.28, 5.4.1, 5.4.3 - 5.4.10, 5.4.15 - 5.4.26, 5.6.28, 7.0.14 - 7.2.6
1398755668 1401347668 1399533268 1400397268 1403853268
Output for 7.0.6
1464966365 1467558365 1465743965 1466607965 1470063965
Output for 7.0.5
1462246515 1464924915 1463110515 1463974515 1467430515
Output for 7.0.4
1460301346 1462893346 1461078946 1461942946 1465398946
Output for 7.0.3
1460995242 1463587242 1461772842 1462636842 1466092842
Output for 7.0.2
1461363245 1463955245 1462140845 1463004845 1466460845
Output for 7.0.1
1461464105 1464056105 1462241705 1463105705 1466561705
Output for 7.0.0
1461730315 1464322315 1462507915 1463371915 1466827915
Output for 5.6.21
1464862571 1467454571 1465640171 1466504171 1469960171
Output for 5.6.20
1462847622 1465526022 1463711622 1464575622 1468031622
Output for 5.6.19
1460071369 1462663369 1460848969 1461712969 1465168969
Output for 5.6.18
1460706868 1463298868 1461484468 1462348468 1465804468
Output for 5.6.17
1461095267 1463687267 1461872867 1462736867 1466192867
Output for 5.6.16
1461819559 1464411559 1462597159 1463461159 1466917159
Output for 5.6.15
1461909023 1464501023 1462686623 1463550623 1467006623
Output for 5.6.14
1462175148 1464853548 1463039148 1463903148 1467359148
Output for 5.6.13
1463313883 1465992283 1464177883 1465041883 1468497883
Output for 5.6.12
1463711480 1466389880 1464575480 1465439480 1468895480
Output for 5.6.11
1463994061 1466672461 1464858061 1465722061 1469178061
Output for 5.6.10
1464173836 1466852236 1465037836 1465901836 1469357836
Output for 5.6.9
1464365191 1467043591 1465229191 1466093191 1469549191
Output for 5.6.8
1464569933 1467248333 1465433933 1466297933 1469753933
Output for 5.5.35
1466611327 1469203327 1467388927 1468252927 1471708927
Output for 5.5.34
1462942043 1465620443 1463806043 1464670043 1468126043
Output for 5.5.33
1460167351 1462759351 1460944951 1461808951 1465264951
Output for 5.5.32
1460893037 1463485037 1461670637 1462534637 1465990637
Output for 5.5.31
1461192052 1463784052 1461969652 1462833652 1466289652
Output for 5.5.30
1462088614 1464767014 1462952614 1463816614 1467272614
Output for 5.5.29
1463452153 1466130553 1464316153 1465180153 1468636153
Output for 5.5.28
1463809349 1466487749 1464673349 1465537349 1468993349
Output for 5.5.27
1463902565 1466580965 1464766565 1465630565 1469086565
Output for 5.5.26
1464269915 1466948315 1465133915 1465997915 1469453915
Output for 5.5.25
1464467384 1467145784 1465331384 1466195384 1469651384
Output for 5.5.24
1466737864 1469329864 1467515464 1468379464 1471835464
Output for 5.4.45
1444390127 1447072127 1445254127 1446121727 1449577727
Output for 5.4.44
1443377685 1445973285 1444155285 1445019285 1448478885
Output for 5.4.43
1439254618 1441933018 1440032218 1440896218 1444352218
Output for 5.4.42
1438172413 1440850813 1439036413 1439900413 1443356413
Output for 5.4.41
1436510391 1439188791 1437374391 1438238391 1441694391
Output for 5.4.40
1436510387 1439188787 1437374387 1438238387 1441694387
Output for 5.4.39
1436510386 1439188786 1437374386 1438238386 1441694386
Output for 5.4.38
1436510384 1439188784 1437374384 1438238384 1441694384
Output for 5.4.35 - 5.4.37
1425840707 1428515507 1426877507 1427737907 1431193907
Output for 5.4.34
1425840706 1428515506 1426877506 1427737906 1431193906
Output for 5.4.32
1412750574 1415432574 1413614574 1414482174 1417938174
Output for 5.4.31
1412750571 1415432571 1413614571 1414482171 1417938171
Output for 5.3.29, 5.4.30
1412750567 1415432567 1413614567 1414482167 1417938167
Output for 5.4.28 - 5.4.29
1412750566 1415432566 1413614566 1414482166 1417938166
Output for 5.4.27
1412750572 1415432572 1413614572 1414482172 1417938172
Output for 4.3.10 - 4.4.9, 5.0.3 - 5.1.1, 5.1.3 - 5.2.12, 5.2.14 - 5.3.3, 5.3.5 - 5.3.10, 5.3.13, 5.3.16 - 5.3.18, 5.3.21, 5.3.23, 5.3.25 - 5.3.26, 5.4.0, 5.4.2, 5.4.11 - 5.4.14
1398755667 1401347667 1399533267 1400397267 1403853267
Output for 5.1.2, 5.3.20
1398755667 1401347668 1399533268 1400397268 1403853268
Output for 5.2.13
1398755667 1401347667 1399533267 1400397267 1403853268
Output for 5.0.2
1398722400 1401314400 1399500000 1400364000 1403820000
Output for 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 3 1398722400PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 4 1401314400PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 5 1399500000PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 6 1400364000PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 7 1403820000PHP_EOL
Output for 4.3.1 - 4.3.9
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 3 1398755667PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 4 1401347667PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 5 1399533267PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 6 1400397267PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 7 1403853267PHP_EOL
Output for 4.3.0
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 3 1444390126PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 4 1447072126PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 5 1445254126PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 6 1446121726PHP_EOL Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/VBVap on line 7 1449577726PHP_EOL