3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace C { use function getdate as getdate_alias; print_r(getdate_alias());// not work //;; // fix CA ;) }
based on 1hulI
Output for 5.6.28, 7.0.14 - 7.1.0
Array ( [seconds] => 5 [minutes] => 6 [hours] => 14 [mday] => 21 [wday] => 2 [mon] => 10 [year] => 2014 [yday] => 293 [weekday] => Tuesday [month] => October [0] => 1413893165 )
Output for 7.0.6
Array ( [seconds] => 19 [minutes] => 58 [hours] => 17 [mday] => 3 [wday] => 2 [mon] => 5 [year] => 2016 [yday] => 123 [weekday] => Tuesday [month] => May [0] => 1462291099 )
Output for 7.0.5
Array ( [seconds] => 0 [minutes] => 26 [hours] => 6 [mday] => 3 [wday] => 0 [mon] => 4 [year] => 2016 [yday] => 93 [weekday] => Sunday [month] => April [0] => 1459657560 )
Output for 7.0.4
Array ( [seconds] => 7 [minutes] => 11 [hours] => 18 [mday] => 10 [wday] => 4 [mon] => 3 [year] => 2016 [yday] => 69 [weekday] => Thursday [month] => March [0] => 1457629867 )
Output for 7.0.3
Array ( [seconds] => 29 [minutes] => 59 [hours] => 18 [mday] => 18 [wday] => 5 [mon] => 3 [year] => 2016 [yday] => 77 [weekday] => Friday [month] => March [0] => 1458323969 )
Output for 7.0.2
Array ( [seconds] => 33 [minutes] => 23 [hours] => 1 [mday] => 23 [wday] => 3 [mon] => 3 [year] => 2016 [yday] => 82 [weekday] => Wednesday [month] => March [0] => 1458692613 )
Output for 7.0.1
Array ( [seconds] => 11 [minutes] => 7 [hours] => 5 [mday] => 24 [wday] => 4 [mon] => 3 [year] => 2016 [yday] => 83 [weekday] => Thursday [month] => March [0] => 1458792431 )
Output for 7.0.0
Array ( [seconds] => 53 [minutes] => 3 [hours] => 7 [mday] => 27 [wday] => 0 [mon] => 3 [year] => 2016 [yday] => 86 [weekday] => Sunday [month] => March [0] => 1459055033 )
Output for 5.6.21
Array ( [seconds] => 6 [minutes] => 9 [hours] => 13 [mday] => 2 [wday] => 1 [mon] => 5 [year] => 2016 [yday] => 122 [weekday] => Monday [month] => May [0] => 1462187346 )
Output for 5.6.20
Array ( [seconds] => 14 [minutes] => 25 [hours] => 5 [mday] => 10 [wday] => 0 [mon] => 4 [year] => 2016 [yday] => 100 [weekday] => Sunday [month] => April [0] => 1460258714 )
Output for 5.6.19
Array ( [seconds] => 24 [minutes] => 21 [hours] => 2 [mday] => 8 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 67 [weekday] => Tuesday [month] => March [0] => 1457400084 )
Output for 5.6.18
Array ( [seconds] => 9 [minutes] => 3 [hours] => 11 [mday] => 15 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 74 [weekday] => Tuesday [month] => March [0] => 1458036189 )
Output for 5.6.17
Array ( [seconds] => 0 [minutes] => 44 [hours] => 22 [mday] => 19 [wday] => 6 [mon] => 3 [year] => 2016 [yday] => 78 [weekday] => Saturday [month] => March [0] => 1458423840 )
Output for 5.6.16
Array ( [seconds] => 0 [minutes] => 51 [hours] => 7 [mday] => 28 [wday] => 1 [mon] => 3 [year] => 2016 [yday] => 87 [weekday] => Monday [month] => March [0] => 1459144260 )
Output for 5.6.15
Array ( [seconds] => 47 [minutes] => 41 [hours] => 8 [mday] => 29 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 88 [weekday] => Tuesday [month] => March [0] => 1459233707 )
Output for 5.6.14
Array ( [seconds] => 50 [minutes] => 34 [hours] => 10 [mday] => 2 [wday] => 6 [mon] => 4 [year] => 2016 [yday] => 92 [weekday] => Saturday [month] => April [0] => 1459586090 )
Output for 5.6.13
Array ( [seconds] => 47 [minutes] => 55 [hours] => 14 [mday] => 15 [wday] => 5 [mon] => 4 [year] => 2016 [yday] => 105 [weekday] => Friday [month] => April [0] => 1460724947 )
Output for 5.6.12
Array ( [seconds] => 20 [minutes] => 24 [hours] => 5 [mday] => 20 [wday] => 3 [mon] => 4 [year] => 2016 [yday] => 110 [weekday] => Wednesday [month] => April [0] => 1461122660 )
Output for 5.6.11
Array ( [seconds] => 25 [minutes] => 40 [hours] => 11 [mday] => 24 [wday] => 0 [mon] => 4 [year] => 2016 [yday] => 114 [weekday] => Sunday [month] => April [0] => 1461490825 )
Output for 5.6.10
Array ( [seconds] => 53 [minutes] => 49 [hours] => 13 [mday] => 25 [wday] => 1 [mon] => 4 [year] => 2016 [yday] => 115 [weekday] => Monday [month] => April [0] => 1461584993 )
Output for 5.6.9
Array ( [seconds] => 18 [minutes] => 59 [hours] => 18 [mday] => 27 [wday] => 3 [mon] => 4 [year] => 2016 [yday] => 117 [weekday] => Wednesday [month] => April [0] => 1461776358 )
Output for 5.6.8
Array ( [seconds] => 50 [minutes] => 52 [hours] => 3 [mday] => 30 [wday] => 6 [mon] => 4 [year] => 2016 [yday] => 120 [weekday] => Saturday [month] => April [0] => 1461981170 )
Output for 5.4.0 - 5.5.35
Parse error: syntax error, unexpected 'function' (T_FUNCTION), expecting identifier (T_STRING) or \\ (T_NS_SEPARATOR) in /in/Pc7e4 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_FUNCTION, expecting T_STRING or T_NS_SEPARATOR in /in/Pc7e4 on line 4
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_STRING in /in/Pc7e4 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_STRING in /in/Pc7e4 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/Pc7e4 on line 3
Process exited with code 255.