3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $today = new Datetime(); echo ($today->getTimestamp());
based on 9EHp0
Output for 5.6.28, 7.0.20 - 7.2.0
1450279928
Output for 7.0.6
1463827223
Output for 7.0.5
1459666123
Output for 7.0.4
1457639547
Output for 7.0.3
1458335530
Output for 7.0.2
1458703573
Output for 7.0.1
1458801456
Output for 7.0.0
1459063885
Output for 5.6.21
1462196391
Output for 5.6.20
1460267416
Output for 5.6.19
1457409587
Output for 5.6.18
1458046362
Output for 5.6.17
1458433606
Output for 5.6.16
1459153236
Output for 5.6.15
1459242603
Output for 5.6.14
1460645472
Output for 5.6.13
1460734277
Output for 5.6.12
1461131947
Output for 5.6.11
1461500679
Output for 5.6.10
1461594566
Output for 5.6.9
1461785865
Output for 5.6.8
1461990424
Output for 5.5.35
1463958453
Output for 5.5.34
1460361803
Output for 5.5.33
1457506614
Output for 5.5.32
1458233292
Output for 5.5.31
1458531260
Output for 5.5.30
1459508547
Output for 5.5.29
1460872141
Output for 5.5.28
1461230228
Output for 5.5.27
1461322644
Output for 5.5.26
1461690536
Output for 5.5.25
1461890059
Output for 5.5.24
1464073216
Output for 5.4.44 - 5.4.45
1450279932
Output for 5.4.43
1450279933
Output for 5.4.41 - 5.4.42
1450279934
Output for 5.4.40
1450279935
Output for 5.4.37 - 5.4.39
1450279936
Output for 5.4.34 - 5.4.36
1450279937
Output for 5.3.29, 5.4.27 - 5.4.32
1450279938
Output for 5.3.28, 5.4.21 - 5.4.26
1450279939
Output for 5.3.27, 5.4.17 - 5.4.20
1450279940
Output for 5.3.21 - 5.3.26, 5.4.11 - 5.4.16
1450279941
Output for 5.3.20, 5.4.10
1450279942