3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime(); echo $date->format('u');
Output for 7.2.6
003540
Output for 7.2.5
003280
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
004441
Output for 7.1.20
003016
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
005087
Output for 7.1.9
011267
Output for 7.1.8
013069
Output for 7.1.7
003785
Output for 7.1.6
013035
Output for 7.1.5
011397
Output for 7.1.4
034889
Output for 5.3.18 - 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
003774