3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r (getdate());
Output for 5.6.28, 7.0.12 - 7.1.0
Array ( [seconds] => 14 [minutes] => 17 [hours] => 23 [mday] => 31 [wday] => 5 [mon] => 5 [year] => 2013 [yday] => 150 [weekday] => Friday [month] => May [0] => 1370035034 )
Output for 7.0.6
Array ( [seconds] => 20 [minutes] => 30 [hours] => 18 [mday] => 3 [wday] => 2 [mon] => 5 [year] => 2016 [yday] => 123 [weekday] => Tuesday [month] => May [0] => 1462293020 )
Output for 7.0.5
Array ( [seconds] => 25 [minutes] => 55 [hours] => 6 [mday] => 3 [wday] => 0 [mon] => 4 [year] => 2016 [yday] => 93 [weekday] => Sunday [month] => April [0] => 1459659325 )
Output for 7.0.4
Array ( [seconds] => 20 [minutes] => 42 [hours] => 18 [mday] => 10 [wday] => 4 [mon] => 3 [year] => 2016 [yday] => 69 [weekday] => Thursday [month] => March [0] => 1457631740 )
Output for 7.0.3
Array ( [seconds] => 0 [minutes] => 51 [hours] => 19 [mday] => 18 [wday] => 5 [mon] => 3 [year] => 2016 [yday] => 77 [weekday] => Friday [month] => March [0] => 1458327060 )
Output for 7.0.2
Array ( [seconds] => 21 [minutes] => 58 [hours] => 1 [mday] => 23 [wday] => 3 [mon] => 3 [year] => 2016 [yday] => 82 [weekday] => Wednesday [month] => March [0] => 1458694701 )
Output for 7.0.1
Array ( [seconds] => 45 [minutes] => 37 [hours] => 5 [mday] => 24 [wday] => 4 [mon] => 3 [year] => 2016 [yday] => 83 [weekday] => Thursday [month] => March [0] => 1458794265 )
Output for 7.0.0
Array ( [seconds] => 51 [minutes] => 33 [hours] => 7 [mday] => 27 [wday] => 0 [mon] => 3 [year] => 2016 [yday] => 86 [weekday] => Sunday [month] => March [0] => 1459056831 )
Output for hhvm-3.12.0
Array ( [seconds] => 54 [minutes] => 14 [hours] => 10 [mday] => 13 [wday] => 0 [mon] => 3 [year] => 2016 [yday] => 72 [weekday] => Sunday [month] => March [0] => 1457860494 )
Output for hhvm-3.10.0
Array ( [seconds] => 15 [minutes] => 50 [hours] => 1 [mday] => 31 [wday] => 4 [mon] => 3 [year] => 2016 [yday] => 90 [weekday] => Thursday [month] => March [0] => 1459381815 )
Output for 5.6.21
Array ( [seconds] => 35 [minutes] => 39 [hours] => 13 [mday] => 2 [wday] => 1 [mon] => 5 [year] => 2016 [yday] => 122 [weekday] => Monday [month] => May [0] => 1462189175 )
Output for 5.6.20
Array ( [seconds] => 44 [minutes] => 54 [hours] => 5 [mday] => 10 [wday] => 0 [mon] => 4 [year] => 2016 [yday] => 100 [weekday] => Sunday [month] => April [0] => 1460260484 )
Output for 5.6.19
Array ( [seconds] => 47 [minutes] => 53 [hours] => 2 [mday] => 8 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 67 [weekday] => Tuesday [month] => March [0] => 1457402027 )
Output for 5.6.18
Array ( [seconds] => 8 [minutes] => 37 [hours] => 11 [mday] => 15 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 74 [weekday] => Tuesday [month] => March [0] => 1458038228 )
Output for 5.6.17
Array ( [seconds] => 41 [minutes] => 16 [hours] => 23 [mday] => 19 [wday] => 6 [mon] => 3 [year] => 2016 [yday] => 78 [weekday] => Saturday [month] => March [0] => 1458425801 )
Output for 5.6.16
Array ( [seconds] => 11 [minutes] => 21 [hours] => 8 [mday] => 28 [wday] => 1 [mon] => 3 [year] => 2016 [yday] => 87 [weekday] => Monday [month] => March [0] => 1459146071 )
Output for 5.6.15
Array ( [seconds] => 50 [minutes] => 11 [hours] => 9 [mday] => 29 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 88 [weekday] => Tuesday [month] => March [0] => 1459235510 )
Output for 5.6.14
Array ( [seconds] => 2 [minutes] => 3 [hours] => 11 [mday] => 2 [wday] => 6 [mon] => 4 [year] => 2016 [yday] => 92 [weekday] => Saturday [month] => April [0] => 1459587782 )
Output for 5.6.13
Array ( [seconds] => 22 [minutes] => 27 [hours] => 15 [mday] => 15 [wday] => 5 [mon] => 4 [year] => 2016 [yday] => 105 [weekday] => Friday [month] => April [0] => 1460726842 )
Output for 5.6.12
Array ( [seconds] => 23 [minutes] => 56 [hours] => 5 [mday] => 20 [wday] => 3 [mon] => 4 [year] => 2016 [yday] => 110 [weekday] => Wednesday [month] => April [0] => 1461124583 )
Output for 5.6.11
Array ( [seconds] => 4 [minutes] => 19 [hours] => 12 [mday] => 24 [wday] => 0 [mon] => 4 [year] => 2016 [yday] => 114 [weekday] => Sunday [month] => April [0] => 1461493144 )
Output for 5.6.10
Array ( [seconds] => 1 [minutes] => 22 [hours] => 14 [mday] => 25 [wday] => 1 [mon] => 4 [year] => 2016 [yday] => 115 [weekday] => Monday [month] => April [0] => 1461586921 )
Output for 5.6.9
Array ( [seconds] => 56 [minutes] => 31 [hours] => 19 [mday] => 27 [wday] => 3 [mon] => 4 [year] => 2016 [yday] => 117 [weekday] => Wednesday [month] => April [0] => 1461778316 )
Output for 5.6.8
Array ( [seconds] => 5 [minutes] => 24 [hours] => 4 [mday] => 30 [wday] => 6 [mon] => 4 [year] => 2016 [yday] => 120 [weekday] => Saturday [month] => April [0] => 1461983045 )
Output for 5.5.35
Array ( [seconds] => 38 [minutes] => 53 [hours] => 20 [mday] => 22 [wday] => 0 [mon] => 5 [year] => 2016 [yday] => 142 [weekday] => Sunday [month] => May [0] => 1463943218 )
Output for 5.5.34
Array ( [seconds] => 43 [minutes] => 6 [hours] => 8 [mday] => 11 [wday] => 1 [mon] => 4 [year] => 2016 [yday] => 101 [weekday] => Monday [month] => April [0] => 1460354803 )
Output for 5.5.33
Array ( [seconds] => 7 [minutes] => 37 [hours] => 5 [mday] => 9 [wday] => 3 [mon] => 3 [year] => 2016 [yday] => 68 [weekday] => Wednesday [month] => March [0] => 1457498227 )
Output for 5.5.32
Array ( [seconds] => 40 [minutes] => 32 [hours] => 15 [mday] => 17 [wday] => 4 [mon] => 3 [year] => 2016 [yday] => 76 [weekday] => Thursday [month] => March [0] => 1458225160 )
Output for 5.5.31
Array ( [seconds] => 43 [minutes] => 18 [hours] => 2 [mday] => 21 [wday] => 1 [mon] => 3 [year] => 2016 [yday] => 80 [weekday] => Monday [month] => March [0] => 1458523123 )
Output for 5.5.30
Array ( [seconds] => 38 [minutes] => 5 [hours] => 11 [mday] => 1 [wday] => 5 [mon] => 4 [year] => 2016 [yday] => 91 [weekday] => Friday [month] => April [0] => 1459501538 )
Output for 5.5.29
Array ( [seconds] => 35 [minutes] => 50 [hours] => 5 [mday] => 17 [wday] => 0 [mon] => 4 [year] => 2016 [yday] => 107 [weekday] => Sunday [month] => April [0] => 1460865035 )
Output for 5.5.28
Array ( [seconds] => 18 [minutes] => 10 [hours] => 9 [mday] => 21 [wday] => 4 [mon] => 4 [year] => 2016 [yday] => 111 [weekday] => Thursday [month] => April [0] => 1461222618 )
Output for 5.5.27
Array ( [seconds] => 45 [minutes] => 56 [hours] => 10 [mday] => 22 [wday] => 5 [mon] => 4 [year] => 2016 [yday] => 112 [weekday] => Friday [month] => April [0] => 1461315405 )
Output for 5.5.26
Array ( [seconds] => 45 [minutes] => 4 [hours] => 17 [mday] => 26 [wday] => 2 [mon] => 4 [year] => 2016 [yday] => 116 [weekday] => Tuesday [month] => April [0] => 1461683085 )
Output for 5.5.25
Array ( [seconds] => 8 [minutes] => 57 [hours] => 23 [mday] => 28 [wday] => 4 [mon] => 4 [year] => 2016 [yday] => 118 [weekday] => Thursday [month] => April [0] => 1461880628 )
Output for 5.5.24
Array ( [seconds] => 53 [minutes] => 29 [hours] => 6 [mday] => 24 [wday] => 2 [mon] => 5 [year] => 2016 [yday] => 144 [weekday] => Tuesday [month] => May [0] => 1464064193 )
Output for 5.4.45
Array ( [seconds] => 17 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987317 )
Output for 5.4.44
Array ( [seconds] => 19 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987319 )
Output for 5.4.42 - 5.4.43
Array ( [seconds] => 20 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987320 )
Output for 5.4.41
Array ( [seconds] => 21 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987321 )
Output for 5.4.39 - 5.4.40
Array ( [seconds] => 22 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987322 )
Output for 5.4.36 - 5.4.38
Array ( [seconds] => 23 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987323 )
Output for 5.4.34 - 5.4.35
Array ( [seconds] => 24 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987324 )
Output for 5.3.29, 5.4.32
Array ( [seconds] => 25 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987325 )
Output for 5.4.29 - 5.4.31
Array ( [seconds] => 26 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987326 )
Output for 5.4.25 - 5.4.28
Array ( [seconds] => 27 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987327 )
Output for 5.3.28, 5.4.23 - 5.4.24
Array ( [seconds] => 28 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987328 )
Output for 5.4.20 - 5.4.22
Array ( [seconds] => 29 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987329 )
Output for 5.3.27, 5.4.17 - 5.4.19
Array ( [seconds] => 30 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987330 )
Output for 5.3.24 - 5.3.26, 5.4.13 - 5.4.16
Array ( [seconds] => 31 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987331 )
Output for 5.3.20 - 5.3.23, 5.4.11 - 5.4.12
Array ( [seconds] => 32 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987332 )
Output for 5.3.17 - 5.3.19, 5.4.7 - 5.4.10
Array ( [seconds] => 33 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987333 )
Output for 5.3.14 - 5.3.16, 5.4.3 - 5.4.6
Array ( [seconds] => 34 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987334 )
Output for 5.3.10 - 5.3.13, 5.4.0 - 5.4.2
Array ( [seconds] => 35 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987335 )
Output for 5.2.16 - 5.2.17, 5.3.5 - 5.3.9
Array ( [seconds] => 36 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987336 )
Output for 5.2.12 - 5.2.15, 5.3.1 - 5.3.4
Array ( [seconds] => 37 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987337 )
Output for 4.4.8 - 4.4.9, 5.2.6 - 5.2.11, 5.3.0
Array ( [seconds] => 38 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987338 )
Output for 4.4.5 - 4.4.7, 5.2.0 - 5.2.5
Array ( [seconds] => 39 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987339 )
Output for 4.4.2 - 4.4.4, 5.1.2 - 5.1.6
Array ( [seconds] => 40 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987340 )
Output for 4.3.10 - 4.4.1, 5.0.2 - 5.1.1
Array ( [seconds] => 41 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987341 )
Output for 4.3.3 - 4.3.9, 5.0.0 - 5.0.1
Array ( [seconds] => 42 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987342 )
Output for 4.3.0 - 4.3.2
Array ( [seconds] => 43 [minutes] => 55 [hours] => 13 [mday] => 8 [wday] => 0 [mon] => 11 [year] => 2015 [yday] => 311 [weekday] => Sunday [month] => November [0] => 1446987343 )