3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = strtotime("0000-00-00 00:00:00"); $newDate = gmdate("Y-m-d", (int) $date); echo strtotime($date);
based on GQMAU
Output for 5.6.28, 7.0.14 - 7.1.0
101070123291
Output for 7.0.6
101055982564
Output for 7.0.5
101053351685
Output for 7.0.4
101051312998
Output for 7.0.3
101052005052
Output for 7.0.2
101052302214
Output for 7.0.1
101052475787
Output for 7.0.0
101052743455
Output for 5.6.21
101055878396
Output for 5.6.20
101053939383
Output for 5.6.19
101051049280
Output for 5.6.18
101051697766
Output for 5.6.17
101052107604
Output for 5.6.16
101052836235
Output for 5.6.15
101052925784
Output for 5.6.14
101053280702
Output for 5.6.13
101054418136
Output for 5.6.12
101054810949
Output for 5.6.11
101055096291
Output for 5.6.10
101055274964
Output for 5.6.9
101055466517
Output for 5.6.8
101055667158
Output for 5.6.7
101057869581
Output for 5.5.35
101057618799
Output for 5.5.34
101054047238
Output for 5.5.33
101051179499
Output for 5.5.32
101051891287
Output for 5.5.31
101052204297
Output for 5.5.30
101053192243
Output for 5.5.29
101054555065
Output for 5.5.28
101054909153
Output for 5.5.27
101055004375
Output for 5.5.26
101055370353
Output for 5.5.25
101055564765
Output for 5.5.24
101055764280
Output for 5.4.45
101068204481
Output for 5.4.44
101064701841
Output for 5.4.43
101064701837
Output for 5.4.42
101061781044
Output for 5.4.41
101061781042
Output for 5.4.39 - 5.4.40
101061781037
Output for 5.4.38
101061781035
Output for 5.4.36 - 5.4.37
101061781033
Output for 5.4.34 - 5.4.35
101061781032
Output for 5.4.11 - 5.4.32
101070123295
Output for 5.3.20 - 5.4.10
101070123296
Output for 5.2.15 - 5.3.19
101070123297
Output for 5.2.6 - 5.2.14
101070123298
Output for 5.1.0 - 5.2.5
Output for 4.3.0 - 5.0.5
2916690591600