3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { function foobar(int $int, string $string, array $array, callable $callable, Test $object, $noType) { } } $r = new ReflectionMethod('Test', 'foobar'); foreach ($r->getParameters() as $param) { var_dump(array($param->name, $param->hasType(), $param->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.130.0000.00917.13
8.3.120.0060.00318.93
8.3.110.0060.00316.40
8.3.100.0070.01116.50
8.3.90.0080.00016.74
8.3.80.0040.00418.26
8.3.70.0150.00018.38
8.3.60.0070.01016.50
8.3.50.0080.01222.07
8.3.40.0100.00618.85
8.3.30.0110.00419.14
8.3.20.0040.00420.14
8.3.10.0040.00421.56
8.3.00.0040.00422.32
8.2.250.0050.00318.42
8.2.240.0130.00316.46
8.2.230.0030.00720.94
8.2.220.0080.00024.06
8.2.210.0040.00426.77
8.2.200.0060.00318.41
8.2.190.0070.00716.63
8.2.180.0090.01218.20
8.2.170.0120.00322.96
8.2.160.0100.00622.03
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00417.63
8.2.110.0070.01020.47
8.2.100.0100.00317.78
8.2.90.0000.00819.23
8.2.80.0060.00318.73
8.2.70.0040.00417.63
8.2.60.0000.00917.50
8.2.50.0000.00817.55
8.2.40.0080.00019.33
8.2.30.0040.00418.15
8.2.20.0000.00817.57
8.2.10.0000.00818.04
8.2.00.0050.00317.96
8.1.300.0030.01216.31
8.1.290.0030.00618.88
8.1.280.0150.00325.92
8.1.270.0120.00320.43
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0000.01122.10
8.1.230.0110.00020.90
8.1.220.0050.00318.57
8.1.210.0080.00018.77
8.1.200.0000.00817.35
8.1.190.0040.00417.23
8.1.180.0050.00518.10
8.1.170.0000.00818.72
8.1.160.0040.00422.09
8.1.150.0000.00718.94
8.1.140.0000.00817.46
8.1.130.0000.00817.71
8.1.120.0000.00717.53
8.1.110.0070.00017.43
8.1.100.0040.00417.35
8.1.90.0050.00317.35
8.1.80.0040.00417.45
8.1.70.0000.00717.48
8.1.60.0040.00417.64
8.1.50.0030.00617.39
8.1.40.0000.00817.53
8.1.30.0080.00417.69
8.1.20.0040.00417.65
8.1.10.0000.00817.54
8.1.00.0050.00317.54
8.0.300.0030.00718.77
8.0.290.0120.00616.58
8.0.280.0070.00018.50
8.0.270.0040.00417.28
8.0.260.0000.00817.14
8.0.250.0030.00316.91
8.0.240.0000.00717.01
8.0.230.0000.00716.95
8.0.220.0050.00216.91
8.0.210.0030.00316.88
8.0.200.0030.00316.93
8.0.190.0000.00817.06
8.0.180.0030.00616.82
8.0.170.0040.00416.83
8.0.160.0040.00416.87
8.0.150.0050.00216.75
8.0.140.0000.00716.76
8.0.130.0030.00313.31
8.0.120.0040.00416.87
8.0.110.0040.00416.91
8.0.100.0000.00816.96
8.0.90.0070.00016.95
8.0.80.0140.00616.92
8.0.70.0040.00416.85
8.0.60.0000.00816.77
8.0.50.0050.00216.80
8.0.30.0090.00817.05
8.0.20.0120.00717.40
8.0.10.0040.00417.14
8.0.00.0110.00716.72
7.4.330.0050.00015.15
7.4.320.0030.00316.64
7.4.300.0040.00416.60
7.4.290.0050.00216.63
7.4.280.0030.00616.64
7.4.270.0030.00316.45
7.4.260.0030.00316.46
7.4.250.0070.00016.59
7.4.240.0050.00216.50
7.4.230.0080.00016.68
7.4.220.0090.00916.60
7.4.210.0030.01216.67
7.4.200.0030.00316.71
7.4.160.0070.01016.57
7.4.150.0180.00717.40
7.4.140.0080.01217.86
7.4.130.0080.01116.44
7.4.120.0080.01016.54
7.4.110.0130.01016.44
7.4.100.0090.01216.53
7.4.90.0150.00916.40
7.4.80.0060.01419.39
7.4.70.0070.01116.52
7.4.60.0070.01516.54
7.4.50.0050.00516.37
7.4.40.0110.00516.51
7.4.30.0110.01116.60
7.4.00.0020.01414.97
7.3.330.0000.00513.03
7.3.320.0050.00013.18
7.3.310.0070.00016.11
7.3.300.0000.00716.16
7.3.290.0120.00516.24
7.3.280.0120.00616.28
7.3.270.0080.00917.40
7.3.260.0090.00916.22
7.3.250.0120.00716.42
7.3.240.0110.01116.27
7.3.230.0090.00916.49
7.3.210.0140.00316.52
7.3.200.0060.01819.39
7.3.190.0070.01416.58
7.3.180.0090.00616.59
7.3.170.0060.01116.58
7.3.160.0060.01216.30
7.3.120.0030.01215.02
7.3.110.0100.00714.77
7.3.100.0060.00914.74
7.3.90.0000.01114.97
7.3.80.0030.01014.69
7.3.70.0060.00614.73
7.3.60.0060.00914.83
7.3.50.0110.00614.82
7.3.40.0070.00714.77
7.3.30.0070.00714.72
7.3.20.0090.00616.60
7.3.10.0060.00316.43
7.3.00.0030.01016.58
7.2.330.0130.00616.70
7.2.320.0150.00416.65
7.2.310.0080.01916.82
7.2.300.0060.01216.66
7.2.290.0120.00616.84
7.2.250.0060.01114.90
7.2.240.0000.01914.99
7.2.230.0090.00415.32
7.2.220.0030.00714.87
7.2.210.0090.00615.13
7.2.200.0060.00315.27
7.2.190.0130.00315.18
7.2.180.0120.00415.23
7.2.170.0080.00415.09
7.2.60.0000.01416.98
7.2.00.0090.00319.27
7.1.330.0040.01215.56
7.1.320.0070.00415.92
7.1.310.0040.00715.70
7.1.300.0040.01115.83
7.1.290.0000.01615.62
7.1.280.0030.00915.90
7.1.270.0000.01515.59
7.1.260.0110.00715.86
7.1.200.0040.00715.79
7.1.100.0000.00918.01
7.1.70.0000.00817.17
7.1.60.0110.01119.59
7.1.50.0060.01916.86
7.1.00.0070.07322.48
7.0.200.0030.00316.46
7.0.60.0130.07719.85
7.0.50.0030.08017.81
7.0.40.0030.05320.23
7.0.30.0600.06720.23
7.0.20.0430.07320.33
7.0.10.0130.04720.24
7.0.00.0100.08720.23
5.6.210.0070.08320.55
5.6.200.0200.06318.19
5.6.190.0100.03720.63
5.6.180.0330.05320.61
5.6.170.0370.06720.43
5.6.160.0100.08320.62
5.6.150.0070.03718.13
5.6.140.0100.07718.28
5.6.130.0100.05318.18
5.6.120.0030.04321.09
5.6.110.0000.08321.09
5.6.100.0100.05321.14
5.6.90.0030.08021.00
5.6.80.0100.07020.50
5.6.70.4230.04020.50
5.5.350.0230.04720.43
5.5.340.0030.04017.92
5.5.330.0070.07020.37
5.5.320.0070.06020.21
5.5.310.0200.06720.45
5.5.300.0000.04317.92
5.5.290.0000.05317.98
5.5.280.0030.09320.68
5.5.270.0070.08020.63
5.5.260.0100.08020.77
5.5.250.0030.04020.59
5.5.240.0300.06720.07
5.4.450.0500.05319.16
5.4.440.0600.05019.58
5.4.430.0670.05719.46
5.4.420.0700.05319.62
5.4.410.0770.05019.50
5.4.400.0670.05718.91
5.4.390.0670.06019.13
5.4.380.0630.04719.26
5.4.370.0700.05019.11
5.4.360.0730.05019.25
5.4.350.0670.04319.16
5.4.340.0630.04719.09
5.4.320.0570.05718.87
5.4.310.0600.05019.16
5.4.300.0530.05319.06
5.4.290.0700.05019.12
5.4.280.0900.07019.06
5.4.270.0830.06019.14
5.4.260.0800.04019.11
5.4.250.0700.05318.89
5.4.240.0730.04718.88
5.4.230.0730.05019.06
5.4.220.0570.05319.20
5.4.210.0600.04719.22
5.4.200.0700.03716.86
5.4.190.0670.04319.12
5.4.180.0530.05319.05
5.4.170.0600.05019.11
5.4.160.0770.04718.97
5.4.150.0600.05719.04
5.4.140.0500.05716.68
5.4.130.0730.03316.46
5.4.120.0770.06316.58
5.4.110.0730.05016.45
5.4.100.0630.05716.47
5.4.90.0730.04716.47
5.4.80.0730.04716.26
5.4.70.0730.05016.55
5.4.60.0730.04316.55
5.4.50.0800.04016.51
5.4.40.0670.05316.45
5.4.30.0700.05716.22
5.4.20.0770.04316.45
5.4.10.0600.05316.44
5.4.00.0700.04715.93
5.3.290.0770.05014.70
5.3.280.0730.04714.49
5.3.270.0700.05314.46
5.3.260.0700.06314.65
5.3.250.0700.05314.50
5.3.240.0700.05314.52
5.3.230.0730.05314.57
5.3.220.0800.04714.48
5.3.210.0700.05314.45
5.3.200.0630.05714.57
5.3.190.0700.05014.63
5.3.180.0800.04014.46
5.3.170.0700.05014.55
5.3.160.0700.05314.46
5.3.150.0700.06714.67
5.3.140.0700.05014.64
5.3.130.0730.05014.55
5.3.120.0700.05714.60
5.3.110.0730.05314.50
5.3.100.0700.05013.93
5.3.90.0700.05014.02
5.3.80.0770.04313.99
5.3.70.0730.05014.09
5.3.60.0630.04714.07
5.3.50.0730.04313.94
5.3.40.0670.04314.10
5.3.30.0630.04314.06
5.3.20.0700.04713.70
5.3.10.0830.05013.66
5.3.00.0930.05013.50
5.2.170.0530.04311.31
5.2.160.0600.04011.12
5.2.150.0570.04311.30
5.2.140.0570.04311.07
5.2.130.0570.04011.02
5.2.120.0600.04311.11
5.2.110.0630.04011.09
5.2.100.0470.04311.11
5.2.90.0430.04311.05
5.2.80.0430.04311.03
5.2.70.0500.03711.05
5.2.60.0500.03711.03
5.2.50.0500.04310.93
5.2.40.0400.03711.07
5.2.30.0570.04311.04
5.2.20.0400.03710.93
5.2.10.0370.04010.84
5.2.00.0470.03710.62
5.1.60.0430.02710.09
5.1.50.0370.0379.98
5.1.40.0370.03310.14
5.1.30.0330.04010.27
5.1.20.0370.03710.26
5.1.10.0370.03710.00
5.1.00.0470.0379.94
5.0.50.0270.0278.65
5.0.40.0200.0308.30
5.0.30.0300.0438.32
5.0.20.0230.0408.12
5.0.10.0270.0278.02
5.0.00.0200.0478.16
4.4.90.0170.0235.91
4.4.80.0170.0235.77
4.4.70.0230.0175.87
4.4.60.0200.0205.73
4.4.50.0330.0175.77
4.4.40.0200.0375.74
4.4.30.0270.0175.88
4.4.20.0230.0235.89
4.4.10.0200.0235.90
4.4.00.0200.0375.89
4.3.110.0270.0205.71
4.3.100.0170.0235.70
4.3.90.0070.0175.68
4.3.80.0100.0275.78
4.3.70.0070.0175.82
4.3.60.0000.0235.66
4.3.50.0000.0235.77
4.3.40.0030.0305.78
4.3.30.0000.0234.61
4.3.20.0070.0174.49
4.3.10.0030.0234.51
4.3.00.0000.0237.12

preferences:
31.69 ms | 403 KiB | 5 Q