3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo strtotime('midnight 10 days ago');
Output for 5.6.28, 7.0.14 - 7.1.0
1380232800
Output for 7.0.6
1461362400
Output for 7.0.5
1458687600
Output for 7.0.4
1456614000
Output for 7.0.3
1457391600
Output for 7.0.2
1457650800
Output for 7.0.1
1457823600
Output for 7.0.0
1458082800
Output for hhvm-3.12.0
1456786800
Output for hhvm-3.10.0
1458342000
Output for 5.6.21
1461189600
Output for 5.6.20
1459288800
Output for 5.6.19
1456354800
Output for 5.6.18
1457046000
Output for 5.6.17
1457478000
Output for 5.6.16
1458169200
Output for 5.6.15
1458255600
Output for 5.6.14
1458601200
Output for 5.6.13
1459720800
Output for 5.6.12
1460152800
Output for 5.6.11
1460412000
Output for 5.6.10
1460584800
Output for 5.6.9
1460844000
Output for 5.6.8
1461016800
Output for 5.6.7
1463176800
Output for 5.5.35
1462917600
Output for 5.5.34
1459375200
Output for 5.5.33
1456527600
Output for 5.5.32
1457132400
Output for 5.5.31
1457564400
Output for 5.5.30
1458514800
Output for 5.5.29
1459893600
Output for 5.5.28
1460239200
Output for 5.5.27
1460325600
Output for 5.5.26
1460671200
Output for 5.5.25
1460930400
Output for 5.5.24
1461103200
Output for 5.1.0 - 5.4.45
1443736800
Output for 4.3.0 - 5.0.5
-1