3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo(strtotime("now") . "<br>"); echo(strtotime("3 October 2005") . "<br>"); echo(strtotime("+5 hours") . "<br>"); echo(strtotime("+1 week") . "<br>"); echo(strtotime("+1 week 3 days 7 hours 5 seconds") . "<br>"); echo(strtotime("next Monday") . "<br>"); echo(strtotime("last Sunday")); ?>
based on oCX46
Output for 5.6.28, 7.0.20 - 7.2.0
1445848066<br>1128290400<br>1445866066<br>1446452866<br>1446737271<br>1446418800<br>1445724000
Output for 7.0.6
1462290615<br>1128290400<br>1462308615<br>1462895415<br>1463179820<br>1462744800<br>1462053600
Output for 7.0.5
1459657075<br>1128290400<br>1459675075<br>1460261875<br>1460546280<br>1459720800<br>1459033200
Output for 7.0.4
1457629232<br>1128290400<br>1457647232<br>1458234032<br>1458518437<br>1457910000<br>1457218800
Output for 7.0.3
1458323414<br>1128290400<br>1458341414<br>1458928214<br>1459209019<br>1458514800<br>1457823600
Output for 7.0.2
1458692041<br>1128290400<br>1458710041<br>1459293241<br>1459577646<br>1459116000<br>1458428400
Output for 7.0.1
1458791932<br>1128290400<br>1458809932<br>1459393132<br>1459677537<br>1459116000<br>1458428400
Output for 7.0.0
1459054531<br>1128290400<br>1459072531<br>1459659331<br>1459943736<br>1459116000<br>1458428400
Output for 5.6.21
1462186834<br>1128290400<br>1462204834<br>1462791634<br>1463076039<br>1462744800<br>1462053600
Output for 5.6.20
1460258226<br>1128290400<br>1460276226<br>1460863026<br>1461147431<br>1460325600<br>1459634400
Output for 5.6.19
1457399565<br>1128290400<br>1457417565<br>1458004365<br>1458288770<br>1457910000<br>1457218800
Output for 5.6.18
1458035289<br>1128290400<br>1458053289<br>1458640089<br>1458924494<br>1458514800<br>1457823600
Output for 5.6.17
1458423310<br>1128290400<br>1458441310<br>1459028110<br>1459308915<br>1458514800<br>1457823600
Output for 5.6.16
1459143765<br>1128290400<br>1459161765<br>1459748565<br>1460032970<br>1459720800<br>1459033200
Output for 5.6.15
1459233218<br>1128290400<br>1459251218<br>1459838018<br>1460122423<br>1459720800<br>1459033200
Output for 5.6.14
1459585639<br>1128290400<br>1459603639<br>1460190439<br>1460474844<br>1459720800<br>1459033200
Output for 5.6.13
1460724459<br>1128290400<br>1460742459<br>1461329259<br>1461613664<br>1460930400<br>1460239200
Output for 5.6.12
1461122151<br>1128290400<br>1461140151<br>1461726951<br>1462011356<br>1461535200<br>1460844000
Output for 5.6.11
1461490295<br>1128290400<br>1461508295<br>1462095095<br>1462379500<br>1461535200<br>1460844000
Output for 5.6.10
1461584485<br>1128290400<br>1461602485<br>1462189285<br>1462473690<br>1462140000<br>1461448800
Output for 5.6.9
1461775848<br>1128290400<br>1461793848<br>1462380648<br>1462665053<br>1462140000<br>1461448800
Output for 5.6.8
1461980580<br>1128290400<br>1461998580<br>1462585380<br>1462869785<br>1462140000<br>1461448800
Output for 5.5.35
1463937373<br>1128290400<br>1463955373<br>1464542173<br>1464826578<br>1463954400<br>1463263200
Output for 5.5.34
1460352577<br>1128290400<br>1460370577<br>1460957377<br>1461241782<br>1460930400<br>1460239200
Output for 5.5.33
1457495348<br>1128290400<br>1457513348<br>1458100148<br>1458384553<br>1457910000<br>1457218800
Output for 5.5.32
1458221528<br>1128290400<br>1458239528<br>1458826328<br>1459107133<br>1458514800<br>1457823600
Output for 5.5.31
1458520412<br>1128290400<br>1458538412<br>1459121612<br>1459406017<br>1459116000<br>1458428400
Output for 5.5.30
1459499232<br>1128290400<br>1459517232<br>1460104032<br>1460388437<br>1459720800<br>1459033200
Output for 5.5.29
1460862706<br>1128290400<br>1460880706<br>1461467506<br>1461751911<br>1460930400<br>1460239200
Output for 5.5.28
1461220117<br>1128290400<br>1461238117<br>1461824917<br>1462109322<br>1461535200<br>1460844000
Output for 5.5.27
1461313079<br>1128290400<br>1461331079<br>1461917879<br>1462202284<br>1461535200<br>1460844000
Output for 5.5.26
1461680639<br>1128290400<br>1461698639<br>1462285439<br>1462569844<br>1462140000<br>1461448800
Output for 5.5.25
1461878098<br>1128290400<br>1461896098<br>1462482898<br>1462767303<br>1462140000<br>1461448800
Output for 5.5.24
1464061850<br>1128290400<br>1464079850<br>1464666650<br>1464951055<br>1464559200<br>1463868000
Output for 5.4.38 - 5.4.45
1445848073<br>1128290400<br>1445866073<br>1446452873<br>1446737278<br>1446418800<br>1445724000
Output for 5.4.27 - 5.4.37
1445848074<br>1128290400<br>1445866074<br>1446452874<br>1446737279<br>1446418800<br>1445724000
Output for 5.4.14 - 5.4.26
1445848075<br>1128290400<br>1445866075<br>1446452875<br>1446737280<br>1446418800<br>1445724000
Output for 5.4.1 - 5.4.13
1445848076<br>1128290400<br>1445866076<br>1446452876<br>1446737281<br>1446418800<br>1445724000
Output for 5.3.19 - 5.4.0
1445848077<br>1128290400<br>1445866077<br>1446452877<br>1446737282<br>1446418800<br>1445724000