3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d=new DateTime("CET"); echo $d->format("ymdhis");
Output for 5.6.28, 7.0.12 - 7.1.0
130830110013
Output for 7.0.6
160503125012
Output for 7.0.5
160402021218
Output for 7.0.4
160309111132
Output for 7.0.3
160317113651
Output for 7.0.2
160321101901
Output for 7.0.1
160323095825
Output for 7.0.0
160326010211
Output for hhvm-3.12.0
160311025355
Output for hhvm-3.10.0
160329052458
Output for 5.6.21
160501074455
Output for 5.6.20
160409092737
Output for 5.6.19
160306083849
Output for 5.6.18
160314090745
Output for 5.6.17
160319041209
Output for 5.6.16
160327024641
Output for 5.6.15
160328034535
Output for 5.6.14
160401062644
Output for 5.6.13
160414102325
Output for 5.6.12
160419112747
Output for 5.6.11
160422064535
Output for 5.6.10
160424082411
Output for 5.6.9
160427012910
Output for 5.6.8
160429090325
Output for 5.6.7
160524065539
Output for 5.5.35
160521105855
Output for 5.5.34
160410031637
Output for 5.5.33
160308102328
Output for 5.5.32
160315072501
Output for 5.5.31
160320070620
Output for 5.5.30
160331054918
Output for 5.5.29
160416122637
Output for 5.5.28
160420023746
Output for 5.5.27
160421051640
Output for 5.5.26
160425103856
Output for 5.5.25
160428044552
Output for 5.5.24
160430122405
Output for 5.4.44 - 5.4.45
160218082305
Output for 5.4.42 - 5.4.43
160218082306
Output for 5.4.40 - 5.4.41
160218082307
Output for 5.4.38 - 5.4.39
160218082308
Output for 5.4.36 - 5.4.37
160218082309
Output for 5.4.34 - 5.4.35
160218082310
Output for 5.3.29, 5.4.31 - 5.4.32
160218082311
Output for 5.4.27 - 5.4.30
160218082312
Output for 5.4.23 - 5.4.26
160218082313
Output for 5.3.28, 5.4.20 - 5.4.22
160218082314
Output for 5.3.27, 5.4.18 - 5.4.19
160218082315
Output for 5.3.25 - 5.3.26, 5.4.14 - 5.4.17
160218082316
Output for 5.3.21 - 5.3.24, 5.4.11 - 5.4.13
160218082317
Output for 5.3.17 - 5.3.20, 5.4.8 - 5.4.10
160218082318
Output for 5.3.14 - 5.3.16, 5.4.4 - 5.4.7
160218082319
Output for 5.3.11 - 5.3.13, 5.4.0 - 5.4.3
160218082320
Output for 5.2.16 - 5.2.17, 5.3.5 - 5.3.10
160218082321
Output for 5.2.12 - 5.2.15, 5.3.1 - 5.3.4
160218082322
Output for 5.2.6 - 5.2.11, 5.3.0
160218082323
Output for 5.2.2 - 5.2.5
160218082324
Output for 5.2.0 - 5.2.1
160218082325
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTime' not found in /in/2LQ5M on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetime in /in/2LQ5M on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: datetime in /in/2LQ5M on line 3