3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( (new DateTime('now', new DateTimeZone('Europe/Vilnius')) )->getTimestamp() );
based on 0YPv9
Output for 5.6.28, 7.0.14 - 7.1.0
int(1414062190)
Output for 7.0.6
int(1462252290)
Output for 7.0.5
int(1459620677)
Output for 7.0.4
int(1457587305)
Output for 7.0.3
int(1458280181)
Output for 7.0.2
int(1458645752)
Output for 7.0.1
int(1458751389)
Output for 7.0.0
int(1459016687)
Output for 5.6.21
int(1462148934)
Output for 5.6.20
int(1460211698)
Output for 5.6.19
int(1457333546)
Output for 5.6.18
int(1457984823)
Output for 5.6.17
int(1458382172)
Output for 5.6.16
int(1459105783)
Output for 5.6.15
int(1459195422)
Output for 5.6.14
int(1459549809)
Output for 5.6.13
int(1460687663)
Output for 5.6.12
int(1461082021)
Output for 5.6.11
int(1461366310)
Output for 5.6.10
int(1461545800)
Output for 5.6.9
int(1461736495)
Output for 5.6.8
int(1461937863)
Output for 5.6.7
int(1464157202)
Output for 5.5.35
int(1463889994)
Output for 5.5.34
int(1460316336)
Output for 5.5.33
int(1457453766)
Output for 5.5.32
int(1458166718)
Output for 5.5.31
int(1458478684)
Output for 5.5.30
int(1459461690)
Output for 5.5.29
int(1460824755)
Output for 5.5.28
int(1461179494)
Output for 5.5.27
int(1461274656)
Output for 5.5.26
int(1461640966)
Output for 5.5.25
int(1461835535)
Output for 5.5.24
int(1464020457)
Output for 5.4.45
int(1441565036)
Output for 5.4.44
int(1441565033)
Output for 5.4.43
int(1441565029)
Output for 5.4.42
int(1436446497)
Output for 5.4.41
int(1436446495)
Output for 5.4.40
int(1436446491)
Output for 5.4.39
int(1436446490)
Output for 5.4.38
int(1436446489)
Output for 5.4.36 - 5.4.37
int(1436446487)
Output for 5.4.35
int(1436446486)
Output for 5.4.26 - 5.4.34
int(1414062194)
Output for 5.4.4 - 5.4.25
int(1414062195)
Output for 5.4.0 - 5.4.3
int(1414062196)
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/0oSCB on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /in/0oSCB on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/0oSCB on line 2
Process exited with code 255.