3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set("Europe/Rome"); print_r (getdate());
based on 0BjKI
Output for 5.6.28, 7.0.14 - 7.1.0
Array ( [seconds] => 46 [minutes] => 26 [hours] => 9 [mday] => 20 [wday] => 6 [mon] => 9 [year] => 2014 [yday] => 262 [weekday] => Saturday [month] => September [0] => 1411198006 )
Output for 7.0.6
Array ( [seconds] => 34 [minutes] => 8 [hours] => 10 [mday] => 3 [wday] => 2 [mon] => 5 [year] => 2016 [yday] => 123 [weekday] => Tuesday [month] => May [0] => 1462262914 )
Output for 7.0.5
Array ( [seconds] => 28 [minutes] => 56 [hours] => 22 [mday] => 2 [wday] => 6 [mon] => 4 [year] => 2016 [yday] => 92 [weekday] => Saturday [month] => April [0] => 1459630588 )
Output for 7.0.4
Array ( [seconds] => 25 [minutes] => 31 [hours] => 9 [mday] => 10 [wday] => 4 [mon] => 3 [year] => 2016 [yday] => 69 [weekday] => Thursday [month] => March [0] => 1457598685 )
Output for 7.0.3
Array ( [seconds] => 17 [minutes] => 10 [hours] => 10 [mday] => 18 [wday] => 5 [mon] => 3 [year] => 2016 [yday] => 77 [weekday] => Friday [month] => March [0] => 1458292217 )
Output for 7.0.2
Array ( [seconds] => 57 [minutes] => 8 [hours] => 16 [mday] => 22 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 81 [weekday] => Tuesday [month] => March [0] => 1458659337 )
Output for 7.0.1
Array ( [seconds] => 4 [minutes] => 46 [hours] => 20 [mday] => 23 [wday] => 3 [mon] => 3 [year] => 2016 [yday] => 82 [weekday] => Wednesday [month] => March [0] => 1458762364 )
Output for 7.0.0
Array ( [seconds] => 32 [minutes] => 18 [hours] => 22 [mday] => 26 [wday] => 6 [mon] => 3 [year] => 2016 [yday] => 85 [weekday] => Saturday [month] => March [0] => 1459027112 )
Output for hhvm-3.12.0
Array ( [seconds] => 3 [minutes] => 37 [hours] => 12 [mday] => 12 [wday] => 6 [mon] => 3 [year] => 2016 [yday] => 71 [weekday] => Saturday [month] => March [0] => 1457782623 )
Output for hhvm-3.10.0
Array ( [seconds] => 39 [minutes] => 47 [hours] => 11 [mday] => 30 [wday] => 3 [mon] => 3 [year] => 2016 [yday] => 89 [weekday] => Wednesday [month] => March [0] => 1459331259 )
Output for 5.6.21
Array ( [seconds] => 21 [minutes] => 28 [hours] => 5 [mday] => 2 [wday] => 1 [mon] => 5 [year] => 2016 [yday] => 122 [weekday] => Monday [month] => May [0] => 1462159701 )
Output for 5.6.20
Array ( [seconds] => 7 [minutes] => 54 [hours] => 21 [mday] => 9 [wday] => 6 [mon] => 4 [year] => 2016 [yday] => 99 [weekday] => Saturday [month] => April [0] => 1460231647 )
Output for 5.6.19
Array ( [seconds] => 9 [minutes] => 39 [hours] => 17 [mday] => 7 [wday] => 1 [mon] => 3 [year] => 2016 [yday] => 66 [weekday] => Monday [month] => March [0] => 1457368749 )
Output for 5.6.18
Array ( [seconds] => 15 [minutes] => 43 [hours] => 1 [mday] => 15 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 74 [weekday] => Tuesday [month] => March [0] => 1458002595 )
Output for 5.6.17
Array ( [seconds] => 33 [minutes] => 24 [hours] => 14 [mday] => 19 [wday] => 6 [mon] => 3 [year] => 2016 [yday] => 78 [weekday] => Saturday [month] => March [0] => 1458393873 )
Output for 5.6.16
Array ( [seconds] => 42 [minutes] => 5 [hours] => 0 [mday] => 28 [wday] => 1 [mon] => 3 [year] => 2016 [yday] => 87 [weekday] => Monday [month] => March [0] => 1459116342 )
Output for 5.6.15
Array ( [seconds] => 37 [minutes] => 10 [hours] => 1 [mday] => 29 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 88 [weekday] => Tuesday [month] => March [0] => 1459206637 )
Output for 5.6.14
Array ( [seconds] => 9 [minutes] => 30 [hours] => 3 [mday] => 2 [wday] => 6 [mon] => 4 [year] => 2016 [yday] => 92 [weekday] => Saturday [month] => April [0] => 1459560609 )
Output for 5.6.13
Array ( [seconds] => 24 [minutes] => 24 [hours] => 7 [mday] => 15 [wday] => 5 [mon] => 4 [year] => 2016 [yday] => 105 [weekday] => Friday [month] => April [0] => 1460697864 )
Output for 5.6.12
Array ( [seconds] => 26 [minutes] => 11 [hours] => 21 [mday] => 19 [wday] => 2 [mon] => 4 [year] => 2016 [yday] => 109 [weekday] => Tuesday [month] => April [0] => 1461093086 )
Output for 5.6.11
Array ( [seconds] => 8 [minutes] => 14 [hours] => 4 [mday] => 23 [wday] => 6 [mon] => 4 [year] => 2016 [yday] => 113 [weekday] => Saturday [month] => April [0] => 1461377648 )
Output for 5.6.10
Array ( [seconds] => 59 [minutes] => 57 [hours] => 5 [mday] => 25 [wday] => 1 [mon] => 4 [year] => 2016 [yday] => 115 [weekday] => Monday [month] => April [0] => 1461556679 )
Output for 5.6.9
Array ( [seconds] => 44 [minutes] => 55 [hours] => 10 [mday] => 27 [wday] => 3 [mon] => 4 [year] => 2016 [yday] => 117 [weekday] => Wednesday [month] => April [0] => 1461747344 )
Output for 5.6.8
Array ( [seconds] => 15 [minutes] => 5 [hours] => 19 [mday] => 29 [wday] => 5 [mon] => 4 [year] => 2016 [yday] => 119 [weekday] => Friday [month] => April [0] => 1461949515 )
Output for 5.5.35
Array ( [seconds] => 57 [minutes] => 15 [hours] => 9 [mday] => 22 [wday] => 0 [mon] => 5 [year] => 2016 [yday] => 142 [weekday] => Sunday [month] => May [0] => 1463901357 )
Output for 5.5.34
Array ( [seconds] => 6 [minutes] => 15 [hours] => 0 [mday] => 11 [wday] => 1 [mon] => 4 [year] => 2016 [yday] => 101 [weekday] => Monday [month] => April [0] => 1460326506 )
Output for 5.5.33
Array ( [seconds] => 8 [minutes] => 36 [hours] => 20 [mday] => 8 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 67 [weekday] => Tuesday [month] => March [0] => 1457465768 )
Output for 5.5.32
Array ( [seconds] => 10 [minutes] => 18 [hours] => 3 [mday] => 17 [wday] => 4 [mon] => 3 [year] => 2016 [yday] => 76 [weekday] => Thursday [month] => March [0] => 1458181090 )
Output for 5.5.31
Array ( [seconds] => 12 [minutes] => 10 [hours] => 17 [mday] => 20 [wday] => 0 [mon] => 3 [year] => 2016 [yday] => 79 [weekday] => Sunday [month] => March [0] => 1458490212 )
Output for 5.5.30
Array ( [seconds] => 20 [minutes] => 7 [hours] => 3 [mday] => 1 [wday] => 5 [mon] => 4 [year] => 2016 [yday] => 91 [weekday] => Friday [month] => April [0] => 1459472840 )
Output for 5.5.29
Array ( [seconds] => 56 [minutes] => 30 [hours] => 21 [mday] => 16 [wday] => 6 [mon] => 4 [year] => 2016 [yday] => 106 [weekday] => Saturday [month] => April [0] => 1460835056 )
Output for 5.5.28
Array ( [seconds] => 43 [minutes] => 20 [hours] => 0 [mday] => 21 [wday] => 4 [mon] => 4 [year] => 2016 [yday] => 111 [weekday] => Thursday [month] => April [0] => 1461190843 )
Output for 5.5.27
Array ( [seconds] => 54 [minutes] => 44 [hours] => 2 [mday] => 22 [wday] => 5 [mon] => 4 [year] => 2016 [yday] => 112 [weekday] => Friday [month] => April [0] => 1461285894 )
Output for 5.5.26
Array ( [seconds] => 42 [minutes] => 24 [hours] => 8 [mday] => 26 [wday] => 2 [mon] => 4 [year] => 2016 [yday] => 116 [weekday] => Tuesday [month] => April [0] => 1461651882 )
Output for 5.5.25
Array ( [seconds] => 15 [minutes] => 43 [hours] => 14 [mday] => 28 [wday] => 4 [mon] => 4 [year] => 2016 [yday] => 118 [weekday] => Thursday [month] => April [0] => 1461847395 )
Output for 5.5.24
Array ( [seconds] => 21 [minutes] => 4 [hours] => 22 [mday] => 23 [wday] => 1 [mon] => 5 [year] => 2016 [yday] => 143 [weekday] => Monday [month] => May [0] => 1464033861 )
Output for 5.4.45
Array ( [seconds] => 15 [minutes] => 0 [hours] => 14 [mday] => 21 [wday] => 1 [mon] => 9 [year] => 2015 [yday] => 263 [weekday] => Monday [month] => September [0] => 1442836815 )
Output for 5.4.44
Array ( [seconds] => 56 [minutes] => 59 [hours] => 13 [mday] => 21 [wday] => 1 [mon] => 9 [year] => 2015 [yday] => 263 [weekday] => Monday [month] => September [0] => 1442836796 )
Output for 5.4.43
Array ( [seconds] => 40 [minutes] => 59 [hours] => 13 [mday] => 21 [wday] => 1 [mon] => 9 [year] => 2015 [yday] => 263 [weekday] => Monday [month] => September [0] => 1442836780 )
Output for 5.4.42
Array ( [seconds] => 34 [minutes] => 59 [hours] => 13 [mday] => 21 [wday] => 1 [mon] => 9 [year] => 2015 [yday] => 263 [weekday] => Monday [month] => September [0] => 1442836774 )
Output for 5.4.41
Array ( [seconds] => 27 [minutes] => 59 [hours] => 13 [mday] => 21 [wday] => 1 [mon] => 9 [year] => 2015 [yday] => 263 [weekday] => Monday [month] => September [0] => 1442836767 )
Output for 5.4.40
Array ( [seconds] => 19 [minutes] => 59 [hours] => 13 [mday] => 21 [wday] => 1 [mon] => 9 [year] => 2015 [yday] => 263 [weekday] => Monday [month] => September [0] => 1442836759 )
Output for 5.4.39
Array ( [seconds] => 14 [minutes] => 59 [hours] => 13 [mday] => 21 [wday] => 1 [mon] => 9 [year] => 2015 [yday] => 263 [weekday] => Monday [month] => September [0] => 1442836754 )
Output for 5.4.38
Array ( [seconds] => 38 [minutes] => 1 [hours] => 23 [mday] => 14 [wday] => 6 [mon] => 3 [year] => 2015 [yday] => 72 [weekday] => Saturday [month] => March [0] => 1426370498 )
Output for 5.4.37
Array ( [seconds] => 32 [minutes] => 1 [hours] => 23 [mday] => 14 [wday] => 6 [mon] => 3 [year] => 2015 [yday] => 72 [weekday] => Saturday [month] => March [0] => 1426370492 )
Output for 5.4.34 - 5.4.36
Array ( [seconds] => 31 [minutes] => 1 [hours] => 23 [mday] => 14 [wday] => 6 [mon] => 3 [year] => 2015 [yday] => 72 [weekday] => Saturday [month] => March [0] => 1426370491 )
Output for 5.4.24 - 5.4.32
Array ( [seconds] => 50 [minutes] => 26 [hours] => 9 [mday] => 20 [wday] => 6 [mon] => 9 [year] => 2014 [yday] => 262 [weekday] => Saturday [month] => September [0] => 1411198010 )
Output for 5.4.1 - 5.4.23
Array ( [seconds] => 51 [minutes] => 26 [hours] => 9 [mday] => 20 [wday] => 6 [mon] => 9 [year] => 2014 [yday] => 262 [weekday] => Saturday [month] => September [0] => 1411198011 )
Output for 5.3.12 - 5.4.0
Array ( [seconds] => 52 [minutes] => 26 [hours] => 9 [mday] => 20 [wday] => 6 [mon] => 9 [year] => 2014 [yday] => 262 [weekday] => Saturday [month] => September [0] => 1411198012 )
Output for 5.2.6 - 5.3.11
Array ( [seconds] => 53 [minutes] => 26 [hours] => 9 [mday] => 20 [wday] => 6 [mon] => 9 [year] => 2014 [yday] => 262 [weekday] => Saturday [month] => September [0] => 1411198013 )
Output for 5.1.0 - 5.2.5
Array ( [seconds] => 54 [minutes] => 26 [hours] => 9 [mday] => 20 [wday] => 6 [mon] => 9 [year] => 2014 [yday] => 262 [weekday] => Saturday [month] => September [0] => 1411198014 )
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined function date_default_timezone_set() in /in/o2aj4 on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: date_default_timezone_set() in /in/o2aj4 on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: date_default_timezone_set() in /in/o2aj4 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: date_default_timezone_set() in /in/o2aj4 on line 2