3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime(); echo $date->format('u');
Output for 7.2.4
029575
Output for 7.2.3
007742
Output for 7.2.2
009844
Output for 7.2.1
027194
Output for 7.2.0
005674
Output for 7.1.16
024323
Output for 7.1.15
005346
Output for 7.1.14
009180
Output for 7.1.13
018029
Output for 7.1.12
005831
Output for 7.1.11
010722
Output for 7.1.10
012838
Output for 7.1.9
011267
Output for 7.1.8
013069
Output for 7.1.7
006734
Output for 7.1.6
036942
Output for 7.1.5
028265
Output for 7.1.4
034889
Output for 5.4.0 - 5.6.30, hhvm-3.10.1 - 3.22.0, 7.0.0 - 7.0.29, 7.1.3
000000
Output for 7.1.2
058500
Output for 7.1.1
015514
Output for 7.1.0
014135