3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Bar{} class Foo { function bar(Bar $bar) { } } $r = new ReflectionMethod(new Foo(), 'bar'); $parameters = $r->getParameters(); $parameters[0]->getType();

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.0030.01016.63
8.3.50.0120.00721.15
8.3.40.0040.01118.50
8.3.30.0040.01118.43
8.3.20.0050.00220.25
8.3.10.0000.00822.02
8.3.00.0050.00323.65
8.2.180.0180.01116.50
8.2.170.0110.00322.96
8.2.160.0070.01320.32
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0030.00521.11
8.2.120.0040.00426.35
8.2.110.0000.01021.17
8.2.100.0090.00318.04
8.2.90.0030.00519.02
8.2.80.0080.00017.97
8.2.70.0000.00917.61
8.2.60.0040.00417.93
8.2.50.0040.00418.09
8.2.40.0000.00720.35
8.2.30.0050.00319.43
8.2.20.0000.00917.74
8.2.10.0040.00418.02
8.2.00.0040.00417.93
8.1.280.0110.00725.92
8.1.270.0120.00622.04
8.1.260.0080.00028.09
8.1.250.0100.00728.09
8.1.240.0060.00322.64
8.1.230.0000.01119.12
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.10
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0000.00918.50
8.1.160.0080.00020.64
8.1.150.0030.00718.82
8.1.140.0040.00417.48
8.1.130.0070.00017.51
8.1.120.0000.00717.44
8.1.110.0050.00217.34
8.1.100.0040.00417.32
8.1.90.0040.00417.40
8.1.80.0040.00417.35
8.1.70.0070.00017.29
8.1.60.0040.00417.48
8.1.50.0030.00517.44
8.1.40.0000.00817.48
8.1.30.0000.00817.47
8.1.20.0000.01117.56
8.1.10.0030.00617.54
8.1.00.0040.00417.46
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.25
8.0.270.0040.00416.75
8.0.260.0030.00317.09
8.0.250.0030.00316.73
8.0.240.0000.00716.81
8.0.230.0000.00716.77
8.0.220.0030.00316.73
8.0.210.0050.00316.82
8.0.200.0000.00716.90
8.0.190.0000.00816.92
8.0.180.0040.00416.74
8.0.170.0030.00516.85
8.0.160.0040.00416.89
8.0.150.0000.00816.64
8.0.140.0080.00016.70
8.0.130.0000.00513.18
8.0.120.0050.00216.79
8.0.110.0080.00016.74
8.0.100.0040.00416.82
8.0.90.0040.00416.66
8.0.80.0080.00616.79
8.0.70.0070.00016.63
8.0.60.0040.00416.68
8.0.50.0000.00716.65
8.0.30.0130.00416.95
8.0.20.0110.01017.40
8.0.10.0000.00816.84
8.0.00.0040.01216.76
7.4.330.0000.00516.79
7.4.320.0060.00016.48
7.4.300.0040.00416.44
7.4.290.0080.00516.27
7.4.280.0040.00416.56
7.4.270.0040.00316.49
7.4.260.0050.00216.32
7.4.250.0000.00716.39
7.4.240.0030.00316.44
7.4.230.0000.00716.27
7.4.220.0150.00316.43
7.4.210.0080.00816.48
7.4.200.0030.00316.61
7.4.160.0040.01116.41
7.4.150.0160.00317.40
7.4.140.0140.01217.86
7.4.130.0070.01216.41
7.4.120.0070.01116.27
7.4.110.0030.01616.36
7.4.100.0070.01016.40
7.4.90.0090.00916.57
7.4.80.0060.00919.39
7.4.70.0080.00816.37
7.4.60.0080.01116.48
7.4.50.0090.00616.30
7.4.40.0140.00916.54
7.4.30.0130.00416.51
7.4.00.0070.00915.04
7.3.330.0000.00613.23
7.3.320.0000.00613.07
7.3.310.0000.00716.21
7.3.300.0000.00716.11
7.3.290.0080.00816.29
7.3.280.0070.00916.27
7.3.270.0090.00917.40
7.3.260.0130.00316.31
7.3.240.0090.00816.39
7.3.230.0120.00616.39
7.3.210.0070.01016.24
7.3.200.0160.00619.39
7.3.190.0080.01116.46
7.3.180.0140.00316.18
7.3.170.0170.00016.36
7.3.160.0100.00716.39
7.3.120.0090.00614.99
7.3.110.0070.00714.82
7.3.100.0060.00615.04
7.3.90.0030.00814.45
7.3.80.0030.00715.17
7.3.70.0040.00814.83
7.3.60.0060.00614.95
7.3.50.0000.01714.77
7.3.40.0030.01314.82
7.3.30.0070.01014.67
7.3.20.0000.01116.72
7.3.10.0090.00316.69
7.3.00.0000.01416.41
7.2.330.0130.00816.47
7.2.320.0130.00816.30
7.2.310.0110.01116.41
7.2.300.0100.01016.33
7.2.290.0110.00616.70
7.2.250.0070.01314.77
7.2.240.0070.01015.16
7.2.230.0060.01214.94
7.2.220.0030.00614.84
7.2.210.0040.00814.67
7.2.200.0090.00314.75
7.2.190.0110.00014.86
7.2.180.0120.00315.09
7.2.170.0070.01015.11
7.2.60.0000.01316.98
7.2.00.0000.01819.53
7.1.330.0040.00815.55
7.1.320.0050.00315.84
7.1.310.0040.00815.69
7.1.300.0060.00315.58
7.1.290.0080.00315.65
7.1.280.0040.01115.66
7.1.270.0030.01315.71
7.1.260.0060.00615.71
7.1.200.0060.00615.77
7.1.100.0110.00018.18
7.1.70.0000.00716.75
7.1.60.0060.01919.40
7.1.50.0030.01916.92
7.1.00.0070.07022.54
7.0.200.0490.00314.66
7.0.60.0230.07721.81
7.0.50.0000.08017.95
7.0.40.0070.06020.05
7.0.30.0270.08720.23
7.0.20.0370.07320.16
7.0.10.0170.04020.33
7.0.00.0070.06720.23
5.6.280.0070.03021.13
5.6.210.0070.07020.71
5.6.200.0030.08318.29
5.6.190.0070.04720.64
5.6.180.0400.07020.67
5.6.170.0300.05720.34
5.6.160.0130.06020.57
5.6.150.0070.06718.16
5.6.140.0030.04318.19
5.6.130.0070.04718.15
5.6.120.0070.08721.00
5.6.110.0130.06720.96
5.6.100.0230.06021.13
5.6.90.0000.09020.95
5.6.80.0100.06320.41
5.5.350.0330.06320.46
5.5.340.0030.08718.05
5.5.330.0100.08320.27
5.5.320.0130.04720.38
5.5.310.0030.05020.20
5.5.300.0030.04017.95
5.5.290.0100.05718.06
5.5.280.0070.04020.76
5.5.270.0030.07720.77
5.5.260.0100.05320.88
5.5.250.0200.07320.77
5.5.240.0330.06720.27

preferences:
63.03 ms | 401 KiB | 5 Q