3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = new DateTime(); $b = $a->format('mdss'); echo ($b); ?>
based on EKQV6
Output for 5.6.28, 7.0.14 - 7.1.0
10013737
Output for 7.0.6
05033939
Output for 7.0.5
04022929
Output for 7.0.4
03103333
Output for 7.0.3
03185353
Output for 7.0.2
03224040
Output for 7.0.1
03232323
Output for 7.0.0
03265151
Output for hhvm-3.12.0
03291717
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
05023737
Output for 5.6.20
04090909
Output for 5.6.19
03072626
Output for 5.6.18
03152323
Output for 5.6.17
03194444
Output for 5.6.16
03273232
Output for 5.6.15
03282323
Output for 5.6.14
04021010
Output for 5.6.13
04154848
Output for 5.6.12
04192222
Output for 5.6.11
04232626
Output for 5.6.10
04255555
Output for 5.6.9
04273434
Output for 5.6.8
04292424
Output for 5.6.7
05253737
Output for 5.5.35
05221414
Output for 5.5.34
04102424
Output for 5.5.33
03084040
Output for 5.5.32
03174747
Output for 5.5.31
03204545
Output for 5.5.30
04011616
Output for 5.5.29
04160303
Output for 5.5.28
04203535
Output for 5.5.27
04221414
Output for 5.5.26
04264545
Output for 5.5.25
04282929
Output for 5.5.24
05231414
Output for 5.4.45
09211818
Output for 5.4.44
09210202
Output for 5.4.43
09214646
Output for 5.4.42
09214040
Output for 5.4.41
09213232
Output for 5.4.40
09212525
Output for 5.4.39
09211919
Output for 5.4.38
03154141
Output for 5.4.36 - 5.4.37
03153333
Output for 5.4.34 - 5.4.35
03153232
Output for 5.4.18 - 5.4.32
10014141
Output for 5.3.27 - 5.4.17
10014242
Output for 5.3.6 - 5.3.26
10014343
Output for 5.2.0 - 5.3.5
10014444
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/n24lg on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetime in /in/n24lg on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: datetime in /in/n24lg on line 2