3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = new DateTime(); var_dump($test->format('U'));
based on HmSO0
Output for 5.6.28, 7.0.20 - 7.2.0
string(10) "1451322261"
Output for 7.0.6
string(10) "1463828837"
Output for 7.0.5
string(10) "1459667463"
Output for 7.0.4
string(10) "1457641020"
Output for 7.0.3
string(10) "1458337143"
Output for 7.0.2
string(10) "1458705151"
Output for 7.0.1
string(10) "1458802872"
Output for 7.0.0
string(10) "1459065277"
Output for 5.6.21
string(10) "1462197814"
Output for 5.6.20
string(10) "1460268773"
Output for 5.6.19
string(10) "1457411069"
Output for 5.6.18
string(10) "1458048021"
Output for 5.6.17
string(10) "1458435156"
Output for 5.6.16
string(10) "1459154647"
Output for 5.6.15
string(10) "1459243987"
Output for 5.6.14
string(10) "1460646926"
Output for 5.6.13
string(10) "1460735668"
Output for 5.6.12
string(10) "1461133413"
Output for 5.6.11
string(10) "1461502145"
Output for 5.6.10
string(10) "1461596091"
Output for 5.6.9
string(10) "1461787922"
Output for 5.6.8
string(10) "1461991904"
Output for 5.5.35
string(10) "1463960338"
Output for 5.5.34
string(10) "1460363182"
Output for 5.5.33
string(10) "1457508213"
Output for 5.5.32
string(10) "1458234979"
Output for 5.5.31
string(10) "1458532866"
Output for 5.5.30
string(10) "1459509931"
Output for 5.5.29
string(10) "1460873544"
Output for 5.5.28
string(10) "1461231692"
Output for 5.5.27
string(10) "1461324052"
Output for 5.5.26
string(10) "1461692129"
Output for 5.5.25
string(10) "1461891580"
Output for 5.5.24
string(10) "1464074676"
Output for 5.4.45
string(10) "1451322265"
Output for 5.4.44
string(10) "1451322266"
Output for 5.4.42 - 5.4.43
string(10) "1451322267"
Output for 5.4.40 - 5.4.41
string(10) "1451322268"
Output for 5.4.38 - 5.4.39
string(10) "1451322269"
Output for 5.4.36 - 5.4.37
string(10) "1451322270"
Output for 5.4.34 - 5.4.35
string(10) "1451322271"
Output for 5.3.29, 5.4.30 - 5.4.32
string(10) "1451322272"
Output for 5.4.26 - 5.4.29
string(10) "1451322273"
Output for 5.3.28, 5.4.23 - 5.4.25
string(10) "1451322274"
Output for 5.4.19 - 5.4.22
string(10) "1451322275"
Output for 5.3.26 - 5.3.27, 5.4.16 - 5.4.18
string(10) "1451322276"
Output for 5.3.23 - 5.3.25, 5.4.12 - 5.4.15
string(10) "1451322277"
Output for 5.3.21 - 5.3.22, 5.4.11
string(10) "1451322278"