3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php namespace C { /** * My magic test class * * @return \Exception */ function getdate() { return 'what_ever'; } \getdate(); // ctrl + click on getdate, should go to date.php stubs. Hover is also invalid. This looks like a problem with selection engine } namespace C { use function getdate as getdate_alias; print_r(getdate_alias());// not work //;; // fix CA ;) }
based on Pc7e4
Output for 5.6.28, 7.0.14 - 7.1.0
Array ( [seconds] => 30 [minutes] => 31 [hours] => 14 [mday] => 21 [wday] => 2 [mon] => 10 [year] => 2014 [yday] => 293 [weekday] => Tuesday [month] => October [0] => 1413894690 )
Output for 7.0.6
Array ( [seconds] => 55 [minutes] => 34 [hours] => 14 [mday] => 21 [wday] => 6 [mon] => 5 [year] => 2016 [yday] => 141 [weekday] => Saturday [month] => May [0] => 1463834095 )
Output for 7.0.5
Array ( [seconds] => 52 [minutes] => 25 [hours] => 10 [mday] => 3 [wday] => 0 [mon] => 4 [year] => 2016 [yday] => 93 [weekday] => Sunday [month] => April [0] => 1459671952 )
Output for 7.0.4
Array ( [seconds] => 46 [minutes] => 35 [hours] => 22 [mday] => 10 [wday] => 4 [mon] => 3 [year] => 2016 [yday] => 69 [weekday] => Thursday [month] => March [0] => 1457645746 )
Output for 7.0.3
Array ( [seconds] => 57 [minutes] => 13 [hours] => 0 [mday] => 19 [wday] => 6 [mon] => 3 [year] => 2016 [yday] => 78 [weekday] => Saturday [month] => March [0] => 1458342837 )
Output for 7.0.2
Array ( [seconds] => 1 [minutes] => 20 [hours] => 6 [mday] => 23 [wday] => 3 [mon] => 3 [year] => 2016 [yday] => 82 [weekday] => Wednesday [month] => March [0] => 1458710401 )
Output for 7.0.1
Array ( [seconds] => 33 [minutes] => 20 [hours] => 9 [mday] => 24 [wday] => 4 [mon] => 3 [year] => 2016 [yday] => 83 [weekday] => Thursday [month] => March [0] => 1458807633 )
Output for 7.0.0
Array ( [seconds] => 59 [minutes] => 11 [hours] => 11 [mday] => 27 [wday] => 0 [mon] => 3 [year] => 2016 [yday] => 86 [weekday] => Sunday [month] => March [0] => 1459069919 )
Output for hhvm-3.12.0
Array ( [seconds] => 49 [minutes] => 18 [hours] => 0 [mday] => 14 [wday] => 1 [mon] => 3 [year] => 2016 [yday] => 73 [weekday] => Monday [month] => March [0] => 1457911129 )
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
Array ( [seconds] => 50 [minutes] => 21 [hours] => 17 [mday] => 2 [wday] => 1 [mon] => 5 [year] => 2016 [yday] => 122 [weekday] => Monday [month] => May [0] => 1462202510 )
Output for 5.6.20
Array ( [seconds] => 15 [minutes] => 28 [hours] => 9 [mday] => 10 [wday] => 0 [mon] => 4 [year] => 2016 [yday] => 100 [weekday] => Sunday [month] => April [0] => 1460273295 )
Output for 5.6.19
Array ( [seconds] => 34 [minutes] => 45 [hours] => 6 [mday] => 8 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 67 [weekday] => Tuesday [month] => March [0] => 1457415934 )
Output for 5.6.18
Array ( [seconds] => 50 [minutes] => 46 [hours] => 15 [mday] => 15 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 74 [weekday] => Tuesday [month] => March [0] => 1458053210 )
Output for 5.6.17
Array ( [seconds] => 24 [minutes] => 25 [hours] => 3 [mday] => 20 [wday] => 0 [mon] => 3 [year] => 2016 [yday] => 79 [weekday] => Sunday [month] => March [0] => 1458440724 )
Output for 5.6.16
Array ( [seconds] => 8 [minutes] => 1 [hours] => 12 [mday] => 28 [wday] => 1 [mon] => 3 [year] => 2016 [yday] => 87 [weekday] => Monday [month] => March [0] => 1459159268 )
Output for 5.6.15
Array ( [seconds] => 38 [minutes] => 50 [hours] => 12 [mday] => 29 [wday] => 2 [mon] => 3 [year] => 2016 [yday] => 88 [weekday] => Tuesday [month] => March [0] => 1459248638 )
Output for 5.6.14
Array ( [seconds] => 39 [minutes] => 33 [hours] => 18 [mday] => 14 [wday] => 4 [mon] => 4 [year] => 2016 [yday] => 104 [weekday] => Thursday [month] => April [0] => 1460651619 )
Output for 5.6.13
Array ( [seconds] => 45 [minutes] => 15 [hours] => 19 [mday] => 15 [wday] => 5 [mon] => 4 [year] => 2016 [yday] => 105 [weekday] => Friday [month] => April [0] => 1460740545 )
Output for 5.6.12
Array ( [seconds] => 14 [minutes] => 45 [hours] => 9 [mday] => 20 [wday] => 3 [mon] => 4 [year] => 2016 [yday] => 110 [weekday] => Wednesday [month] => April [0] => 1461138314 )
Output for 5.6.11
Array ( [seconds] => 4 [minutes] => 11 [hours] => 16 [mday] => 24 [wday] => 0 [mon] => 4 [year] => 2016 [yday] => 114 [weekday] => Sunday [month] => April [0] => 1461507064 )
Output for 5.6.10
Array ( [seconds] => 3 [minutes] => 16 [hours] => 18 [mday] => 25 [wday] => 1 [mon] => 4 [year] => 2016 [yday] => 115 [weekday] => Monday [month] => April [0] => 1461600963 )
Output for 5.6.9
Array ( [seconds] => 27 [minutes] => 45 [hours] => 23 [mday] => 27 [wday] => 3 [mon] => 4 [year] => 2016 [yday] => 117 [weekday] => Wednesday [month] => April [0] => 1461793527 )
Output for 5.6.8
Array ( [seconds] => 33 [minutes] => 10 [hours] => 8 [mday] => 30 [wday] => 6 [mon] => 4 [year] => 2016 [yday] => 120 [weekday] => Saturday [month] => April [0] => 1461996633 )
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/9qICO on line 16
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/9qICO on line 16
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/9qICO on line 2
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/9qICO on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/9qICO on line 2
Process exited with code 255.