3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A { /** * 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; echo getdate_alias();// not work //;; // fix CA ;) }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.40.0040.01118.96
8.3.30.0120.00619.04
8.3.20.0070.00020.33
8.3.10.0030.00523.67
8.3.00.0090.00017.71
8.2.170.0100.00722.96
8.2.160.0070.00720.47
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00022.05
8.2.110.0090.00020.54
8.2.100.0000.01118.22
8.2.90.0040.00419.23
8.2.80.0000.00817.97
8.2.70.0030.00517.48
8.2.60.0050.00717.55
8.2.50.0030.00518.07
8.2.40.0000.00717.97
8.2.30.0040.00318.05
8.2.20.0050.00217.85
8.2.10.0040.00418.02
8.2.00.0030.01017.64
8.1.270.0000.00824.02
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0080.00023.77
8.1.230.0080.00418.91
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0030.00717.22
8.1.190.0040.00417.23
8.1.180.0000.00718.10
8.1.170.0030.00618.65
8.1.160.0000.00721.88
8.1.150.0070.00018.82
8.1.140.0000.00817.37
8.1.130.0090.00017.88
8.1.120.0040.00417.51
8.1.110.0040.00417.47
8.1.100.0000.00717.34
8.1.90.0000.00817.41
8.1.80.0000.00717.36
8.1.70.0000.00717.40
8.1.60.0050.00317.45
8.1.50.0000.00817.37
8.1.40.0040.00417.40
8.1.30.0030.00517.58
8.1.20.0030.00617.61
8.1.10.0000.00717.41
8.1.00.0040.00417.54
8.0.300.0000.00818.77
8.0.290.0080.00016.88
8.0.280.0070.00018.45
8.0.270.0000.00717.22
8.0.260.0030.00317.27
8.0.250.0040.00416.97
8.0.240.0060.00017.05
8.0.230.0000.00717.04
8.0.220.0000.00717.00
8.0.210.0030.00316.89
8.0.200.0070.00016.95
8.0.190.0040.00416.93
8.0.180.0030.00516.89
8.0.170.0000.00816.90
8.0.160.0080.00017.04
8.0.150.0050.00216.82
8.0.140.0040.00416.77
8.0.130.0000.00613.35
8.0.120.0000.00816.96
8.0.110.0070.00016.97
8.0.100.0070.00016.92
8.0.90.0000.00716.83
8.0.80.0080.00816.92
8.0.70.0040.00417.00
8.0.60.0040.00417.04
8.0.50.0070.00017.03
8.0.30.0060.01317.02
8.0.20.0130.00917.40
8.0.10.0040.00417.00
8.0.00.0100.00716.66
7.4.330.0050.00015.00
7.4.320.0060.00016.44
7.4.300.0000.00716.57
7.4.290.0030.00316.38
7.4.280.0000.00916.48
7.4.270.0060.00016.44
7.4.260.0070.00016.44
7.4.250.0070.00016.33
7.4.240.0030.00316.43
7.4.230.0030.00316.36
7.4.220.0130.01316.62
7.4.210.0100.00316.50
7.4.200.0050.00316.34
7.4.160.0130.00316.36
7.4.150.0110.00817.40
7.4.140.0150.00317.86
7.4.130.0050.01216.54
7.4.120.0040.01316.57
7.4.110.0160.00716.46
7.4.100.0130.00316.76
7.4.90.0130.00316.37
7.4.80.0070.01019.39
7.4.70.0130.00316.50
7.4.60.0110.00616.64
7.4.50.0000.00516.09
7.4.40.0100.00716.81
7.4.30.0030.01316.43
7.4.00.0030.01215.23
7.3.330.0060.00013.07
7.3.320.0000.00713.37
7.3.310.0000.00716.34
7.3.300.0030.00316.32
7.3.290.0070.00716.32
7.3.280.0040.01116.26
7.3.270.0180.00017.40
7.3.260.0150.00316.44
7.3.250.0100.00916.37
7.3.240.0070.01516.51
7.3.230.0070.01316.39
7.3.210.0140.00716.42
7.3.200.0190.00319.39
7.3.190.0060.01016.50
7.3.180.0120.00316.41
7.3.170.0100.00616.64
7.3.160.0130.00316.32
7.2.330.0090.00916.84
7.2.320.0140.00316.58
7.2.310.0070.01016.42
7.2.300.0030.01416.66
7.2.290.0090.00916.43
7.2.60.0080.00416.48
7.2.00.0040.01119.22
7.1.200.0070.00715.64
7.1.100.0080.00417.68
7.1.70.0000.00717.21
7.1.60.0040.02119.32
7.1.50.0000.01016.89
7.1.00.0030.07322.46
7.0.200.0000.00816.82
7.0.140.0000.07721.98
7.0.60.0030.08020.06
7.0.50.0000.06717.88
7.0.40.0130.08020.12
7.0.30.0470.07320.17
7.0.20.0230.06720.15
7.0.10.0170.07320.16
7.0.00.0130.07020.34
5.6.280.0030.07021.13
5.6.210.0100.07320.51
5.6.200.0030.04018.23
5.6.190.0000.07020.57
5.6.180.0230.08020.46
5.6.170.0270.05320.58
5.6.160.0170.06020.52
5.6.150.0070.05018.23
5.6.140.0200.03718.13
5.6.130.0070.07018.18
5.6.120.0030.05721.09
5.6.110.0030.05321.02
5.6.100.0100.09321.11
5.6.90.0070.07021.02
5.6.80.0200.06720.37
5.5.350.0100.07720.30
5.5.340.0070.08017.94
5.5.330.0130.07720.27
5.5.320.0430.07320.28
5.5.310.0230.07720.24
5.5.300.0070.08317.92
5.5.290.0070.03718.02
5.5.280.0130.07720.87
5.5.270.0170.07720.86
5.5.260.0230.06320.64
5.5.250.0100.07720.54
5.5.240.0200.08020.37
5.4.450.1000.05319.34
5.4.440.0730.05019.63
5.4.430.0700.05019.47
5.4.420.0630.00019.43
5.4.410.0630.00019.52
5.4.400.0630.00019.11
5.4.390.0600.00019.16
5.4.380.0670.00019.13
5.4.370.0600.00019.12
5.4.360.0630.00019.11
5.4.350.0670.00019.25
5.4.340.0080.03612.02
5.4.320.0030.04012.52
5.4.310.0030.04112.51
5.4.300.0070.04112.52
5.4.290.0050.04312.51
5.4.280.0070.03412.41
5.4.270.0090.03912.41
5.4.260.0050.03812.41
5.4.250.0060.03912.41
5.4.240.0070.04112.41
5.4.230.0050.04012.40
5.4.220.0020.03912.40
5.4.210.0050.03512.40
5.4.200.0060.03612.40
5.4.190.0050.03512.40
5.4.180.0030.04112.39
5.4.170.0040.03712.40
5.4.160.0070.03412.40
5.4.150.0070.03512.39
5.4.140.0040.03712.09
5.4.130.0040.03612.07
5.4.120.0070.03612.03
5.4.110.0080.03312.03
5.4.100.0040.03612.03
5.4.90.0090.04112.02
5.4.80.0050.03712.02
5.4.70.0050.03512.02
5.4.60.0040.03612.02
5.4.50.0040.03712.02
5.4.40.0030.03812.01
5.4.30.0090.03212.01
5.4.20.0100.03112.00
5.4.10.0060.03612.01
5.4.00.0040.03711.50
5.3.290.0080.03612.80
5.3.280.0070.03612.71
5.3.270.0050.04012.72
5.3.260.0040.04712.72
5.3.250.0070.03812.72
5.3.240.0050.04212.72
5.3.230.0060.03812.71
5.3.220.0050.03812.68
5.3.210.0080.04412.68
5.3.200.0100.03912.68
5.3.190.0080.04012.68
5.3.180.0020.04112.67
5.3.170.0050.03612.67
5.3.160.0050.03812.67
5.3.150.0070.04112.67
5.3.140.0070.03712.66
5.3.130.0060.04312.65
5.3.120.0080.04312.66
5.3.110.0100.04212.66
5.3.100.0060.03812.13
5.3.90.0070.04612.11
5.3.80.0040.04312.09
5.3.70.0110.03312.09
5.3.60.0070.03312.07
5.3.50.0060.04112.02
5.3.40.0050.03712.02
5.3.30.0070.03311.98
5.3.20.0020.03811.76
5.3.10.0070.03511.72
5.3.00.0050.03711.71
5.2.170.0060.0299.18
5.2.160.0040.0319.18
5.2.150.0040.0309.18
5.2.140.0020.0339.18
5.2.130.0050.0279.14
5.2.120.0080.0289.14
5.2.110.0070.0269.14
5.2.100.0030.0299.14
5.2.90.0060.0299.14
5.2.80.0060.0289.14
5.2.70.0050.0309.14
5.2.60.0060.0279.09
5.2.50.0030.0299.06
5.2.40.0080.0249.03
5.2.30.0060.0279.02
5.2.20.0030.0319.00
5.2.10.0050.0308.93
5.2.00.0030.0308.79
5.1.60.0040.0318.07
5.1.50.0050.0238.06
5.1.40.0040.0248.05
5.1.30.0030.0278.40
5.1.20.0030.0268.42
5.1.10.0040.0258.14
5.1.00.0040.0268.14
5.0.50.0050.0186.62
5.0.40.0020.0206.48
5.0.30.0060.0286.29
5.0.20.0010.0236.26
5.0.10.0050.0236.24
5.0.00.0050.0296.23
4.4.90.0040.0204.78
4.4.80.0040.0224.75
4.4.70.0050.0144.76
4.4.60.0030.0144.75
4.4.50.0010.0164.77
4.4.40.0010.0264.71
4.4.30.0020.0204.76
4.4.20.0020.0164.84
4.4.10.0040.0184.85
4.4.00.0020.0274.76
4.3.110.0060.0174.67
4.3.100.0030.0174.66
4.3.90.0010.0164.64
4.3.80.0020.0244.59
4.3.70.0020.0144.63
4.3.60.0020.0214.63
4.3.50.0050.0184.63
4.3.40.0030.0284.54
4.3.30.0030.0153.28
4.3.20.0030.0153.26
4.3.10.0020.0173.22
4.3.00.0070.0277.14

preferences:
36.8 ms | 400 KiB | 5 Q