3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IX {} class X implements IX {} class Y {} function foo(IX $x) {} $rf = new \ReflectionFunction('foo'); $rp = $rf->getParam('x'); $x = new X; var_dump($rp->getType(), $rp->getClass());

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.60.0110.00416.50
8.3.50.0060.00816.48
8.3.40.0110.00418.79
8.3.30.0180.00018.79
8.3.20.0040.00420.29
8.3.10.0080.00023.65
8.3.00.0000.00823.36
8.2.180.0090.00918.36
8.2.170.0070.01122.96
8.2.160.0090.00620.52
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00321.00
8.2.120.0040.00426.35
8.2.110.0060.00321.03
8.2.100.0040.00718.03
8.2.90.0050.00319.40
8.2.80.0050.00317.97
8.2.70.0090.00017.63
8.2.60.0000.00817.80
8.2.50.0050.00318.07
8.2.40.0040.00422.14
8.2.30.0040.00419.31
8.2.20.0000.00817.75
8.2.10.0070.00018.16
8.2.00.0040.00417.93
8.1.280.0100.00325.92
8.1.270.0030.00622.19
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0000.00922.47
8.1.230.0090.00317.77
8.1.220.0040.00417.76
8.1.210.0040.00418.77
8.1.200.0030.00717.23
8.1.190.0000.00817.35
8.1.180.0040.00418.10
8.1.170.0000.00918.53
8.1.160.0040.00420.68
8.1.150.0040.00418.88
8.1.140.0000.00819.51
8.1.130.0040.00417.45
8.1.120.0040.00417.52
8.1.110.0000.00717.32
8.1.100.0000.00817.47
8.1.90.0030.00517.50
8.1.80.0070.00317.33
8.1.70.0030.00317.43
8.1.60.0030.00617.56
8.1.50.0000.00817.41
8.1.40.0070.00417.40
8.1.30.0000.00817.62
8.1.20.0000.00817.61
8.1.10.0000.00817.48
8.1.00.0030.00617.38
8.0.300.0000.00718.77
8.0.290.0050.00216.75
8.0.280.0030.00318.44
8.0.270.0040.00417.36
8.0.260.0000.00616.88
8.0.250.0030.00317.01
8.0.240.0070.00017.04
8.0.230.0000.00716.91
8.0.220.0000.00716.86
8.0.210.0040.00416.83
8.0.200.0000.00617.04
8.0.190.0030.00516.89
8.0.180.0040.00416.99
8.0.170.0000.00817.00
8.0.160.0000.00717.00
8.0.150.0030.00416.79
8.0.140.0000.00716.90
8.0.130.0050.00013.45
8.0.120.0080.00017.00
8.0.110.0070.00016.99
8.0.100.0040.00416.77
8.0.90.0050.00217.02
8.0.80.0030.01316.93
8.0.70.0030.00516.90
8.0.60.0040.00416.96
8.0.50.0040.00416.99
8.0.30.0090.00917.09
8.0.20.0090.00917.40
8.0.10.0070.00017.07
8.0.00.0110.00816.65
7.4.330.0060.00016.83
7.4.320.0060.00016.46
7.4.300.0000.00716.51
7.4.290.0070.00016.59
7.4.280.0080.00016.45
7.4.270.0070.00016.48
7.4.260.0040.00416.50
7.4.250.0000.00716.55
7.4.240.0030.00316.46
7.4.230.0000.00716.59
7.4.220.0100.01416.61
7.4.210.0070.00716.58
7.4.200.0000.00716.34
7.4.160.0130.00316.43
7.4.150.0100.00717.40
7.4.140.0090.00917.86
7.4.130.0100.00916.46
7.4.120.0080.00816.54
7.4.110.0120.00616.80
7.4.100.0100.00716.53
7.4.90.0090.01216.49
7.4.80.0100.00619.39
7.4.70.0110.00516.49
7.4.60.0130.00316.45
7.4.50.0060.01116.48
7.4.40.0130.00316.50
7.4.30.0120.00616.52
7.4.00.0080.00915.00
7.3.330.0030.00313.26
7.3.320.0050.00013.30
7.3.310.0000.00716.22
7.3.300.0030.00316.18
7.3.290.0080.00816.26
7.3.280.0100.00916.29
7.3.270.0090.00917.40
7.3.260.0130.01016.52
7.3.250.0130.00716.35
7.3.240.0100.00816.45
7.3.230.0060.01716.40
7.3.210.0100.00616.37
7.3.200.0120.00919.39
7.3.190.0040.01516.35
7.3.180.0070.01016.54
7.3.170.0100.01316.44
7.3.160.0030.01716.32
7.3.120.0060.01314.84
7.3.110.0130.00014.84
7.3.100.0000.01414.88
7.3.90.0030.00714.84
7.3.80.0090.00914.61
7.3.70.0030.00914.77
7.3.60.0100.00614.62
7.3.50.0030.00714.79
7.3.40.0060.00314.48
7.3.30.0000.01514.82
7.3.20.0000.01116.55
7.3.10.0020.01016.48
7.3.00.0100.00516.67
7.2.330.0130.00716.41
7.2.320.0110.00716.54
7.2.310.0060.01016.62
7.2.300.0060.01316.36
7.2.290.0100.00616.64
7.2.250.0040.01515.22
7.2.240.0080.01515.03
7.2.230.0030.01414.73
7.2.220.0040.01114.98
7.2.210.0000.01715.11
7.2.200.0040.00714.75
7.2.190.0030.00714.66
7.2.180.0000.01214.90
7.2.170.0040.01114.82
7.2.130.0090.00616.71
7.2.120.0060.00616.89
7.2.110.0030.00816.83
7.2.100.0030.00916.80
7.2.90.0080.00416.56
7.2.80.0060.00916.85
7.2.70.0000.01416.63
7.2.60.0120.00216.73
7.2.50.0100.00316.97
7.2.40.0000.01316.75
7.2.30.0000.01116.55
7.2.20.0090.00316.88
7.2.10.0080.00416.64
7.2.00.0080.00517.90
7.1.330.0100.00315.70
7.1.320.0040.01415.96
7.1.310.0060.00315.80
7.1.300.0060.00915.91
7.1.290.0060.00315.61
7.1.280.0040.00815.44
7.1.270.0030.01015.73
7.1.260.0030.00715.92
7.1.250.0050.00315.78
7.1.200.0040.00715.69
7.1.100.0040.01417.98
7.1.70.0030.00617.25
7.1.60.0110.01119.28
7.1.50.0120.00316.90
7.1.00.0100.07022.29
7.0.200.0070.00716.81
7.0.60.0070.07021.61
7.0.50.0000.04717.89
7.0.40.0100.09320.11
7.0.30.0230.06720.30
7.0.20.0230.07320.33
7.0.10.0100.08020.08
7.0.00.0000.08020.29
5.6.280.0000.03320.82
5.6.210.0070.03720.67
5.6.200.0070.05718.20
5.6.190.0100.08720.61
5.6.180.0300.03720.61
5.6.170.0270.05320.55
5.6.160.0170.05020.43
5.6.150.0100.06318.12
5.6.140.0070.05718.12
5.6.130.0100.08318.19
5.6.120.0130.08021.13
5.6.110.0200.07320.98
5.6.100.0130.07021.09
5.6.90.0000.08321.00
5.6.80.0200.06320.36
5.5.350.3830.05020.35
5.5.340.0000.05317.99
5.5.330.0070.04720.28
5.5.320.0230.04720.33
5.5.310.0170.04020.24
5.5.300.0000.04718.01
5.5.290.0070.08018.07
5.5.280.0030.04320.68
5.5.270.0100.04720.73
5.5.260.0070.08720.73
5.5.250.0230.07320.68
5.5.240.0130.08020.23

preferences:
40.53 ms | 400 KiB | 5 Q