3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo (new DateTime)->format('U');
Output for 5.6.28, 7.0.14 - 7.1.0
1410336804
Output for 7.0.6
1462254741
Output for 7.0.5
1459623012
Output for 7.0.4
1457589885
Output for 7.0.3
1458282963
Output for 7.0.2
1458649287
Output for 7.0.1
1458753866
Output for 7.0.0
1459019130
Output for hhvm-3.12.0
1457711220
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
1462151469
Output for 5.6.20
1460223522
Output for 5.6.19
1457359788
Output for 5.6.18
1457992336
Output for 5.6.17
1458384891
Output for 5.6.16
1459108233
Output for 5.6.15
1459197847
Output for 5.6.14
1459552714
Output for 5.6.13
1460690030
Output for 5.6.12
1461084564
Output for 5.6.11
1461368891
Output for 5.6.10
1461548385
Output for 5.6.9
1461739028
Output for 5.6.8
1461940531
Output for 5.6.7
1464164577
Output for 5.5.35
1463892762
Output for 5.5.34
1460318773
Output for 5.5.33
1457456327
Output for 5.5.32
1458171897
Output for 5.5.31
1458481340
Output for 5.5.30
1459464719
Output for 5.5.29
1460827129
Output for 5.5.28
1461182088
Output for 5.5.27
1461277204
Output for 5.5.26
1461643535
Output for 5.5.25
1461838121
Output for 5.5.24
1464023045
Output for 5.4.45
1442834765
Output for 5.4.44
1442834760
Output for 5.4.43
1442834753
Output for 5.4.42
1442834749
Output for 5.4.41
1442834743
Output for 5.4.40
1442834736
Output for 5.4.39
1442834729
Output for 5.4.38
1426319540
Output for 5.4.35 - 5.4.37
1426319533
Output for 5.4.34
1426319532
Output for 5.4.20 - 5.4.32
1410336808
Output for 5.4.0 - 5.4.19
1410336809
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/J1Jt3 on line 3
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, expecting ',' or ';' in /in/J1Jt3 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `','' or `';'' in /in/J1Jt3 on line 3
Process exited with code 255.