3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime('now', null); echo $date->format('dmy');
based on sTqmc
Output for 5.6.28, 7.0.20 - 7.2.0
211015
Output for 7.0.6
210516
Output for 5.6.14, 7.0.5
140416
Output for 7.0.4
090316
Output for 7.0.3
170316
Output for 7.0.2
210316
Output for 7.0.1
230316
Output for 7.0.0
260316
Output for 5.6.21
020516
Output for 5.6.20
100416
Output for 5.6.19
060316
Output for 5.6.18
140316
Output for 5.6.17
190316
Output for 5.6.16
270316
Output for 5.6.15
280316
Output for 5.6.13
150416
Output for 5.6.12
200416
Output for 5.6.11
240416
Output for 5.6.10
250416
Output for 5.6.9
280416
Output for 5.6.8
300416
Output for 5.5.35
230516
Output for 5.5.34
110416
Output for 5.5.33
080316
Output for 5.5.32
150316
Output for 5.5.31
200316
Output for 5.5.30
010416
Output for 5.5.29
170416
Output for 5.5.28
210416
Output for 5.5.27
220416
Output for 5.5.26
260416
Output for 5.5.25
290416
Output for 5.5.24
240516
Output for 5.3.19 - 5.4.45
171115