3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ref = new ReflectionClass('ArrayObject'); var_dump(count($ref->getMethod('__construct')->getParameters()));

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.1.130.0070.00017.61
8.1.120.0000.00717.45
8.1.110.0040.00417.35
8.1.100.0000.00817.39
8.1.90.0040.00317.51
8.1.80.0070.00017.32
8.1.70.0040.00417.36
8.1.60.0040.00417.50
8.1.50.0040.00417.41
8.1.40.0020.00517.55
8.1.30.0050.00317.52
8.1.20.0040.00417.65
8.1.10.0040.00417.53
8.1.00.0000.00817.38
8.0.260.0060.00017.23
8.0.250.0070.00016.91
8.0.240.0080.00016.74
8.0.230.0030.00316.83
8.0.220.0030.00316.84
8.0.210.0040.00416.68
8.0.200.0070.00016.74
8.0.190.0040.00416.97
8.0.180.0040.00416.94
8.0.170.0070.00016.99
8.0.160.0070.00016.87
8.0.150.0030.00316.83
8.0.140.0040.00416.86
8.0.130.0000.00513.31
8.0.120.0040.00416.82
8.0.110.0070.00016.90
8.0.100.0080.00016.78
8.0.90.0000.00716.70
8.0.80.0160.00416.79
8.0.70.0000.00716.92
8.0.60.0040.00416.95
8.0.50.0030.00316.82
8.0.30.0080.01217.09
8.0.20.0120.01017.40
8.0.10.0070.00016.99
8.0.00.0090.00816.67
7.4.330.0000.00615.08
7.4.320.0030.00316.49
7.4.300.0030.00316.50
7.4.290.0080.00016.55
7.4.280.0000.00816.50
7.4.270.0030.00316.52
7.4.260.0070.00016.62
7.4.250.0070.00016.39
7.4.240.0020.00516.46
7.4.230.0030.00316.48
7.4.220.0070.00016.66
7.4.210.0070.00716.50
7.4.200.0020.00516.43
7.4.160.0080.00816.53
7.4.150.0150.00317.40
7.4.140.0110.00817.86
7.4.130.0090.00716.47
7.4.120.0150.00916.46
7.4.110.0070.01016.36
7.4.100.0070.01016.35
7.4.90.0060.01416.63
7.4.80.0090.01519.39
7.4.70.0090.00716.32
7.4.60.0070.01016.43
7.4.50.0070.01016.23
7.4.40.0100.01316.36
7.4.30.0150.00316.43
7.4.10.0110.00715.14
7.4.00.0070.00914.83
7.3.330.0020.00213.03
7.3.320.0000.00512.92
7.3.310.0030.00316.27
7.3.300.0030.00316.19
7.3.290.0000.00716.04
7.3.280.0080.00716.19
7.3.270.0060.01017.40
7.3.260.0090.01116.23
7.3.250.0100.01116.44
7.3.240.0080.01016.33
7.3.230.0090.00916.39
7.3.210.0140.00316.60
7.3.200.0100.01016.18
7.3.190.0100.01016.20
7.3.180.0100.01016.40
7.3.170.0080.00816.34
7.3.160.0070.01016.26
7.3.130.0110.00514.72
7.3.120.0130.00414.65
7.3.110.0100.00814.82
7.3.100.0050.00914.82
7.3.90.0070.01014.69
7.3.80.0030.00714.44
7.3.70.0070.00814.52
7.3.60.0090.00314.81
7.3.50.0090.00614.57
7.3.40.0080.00714.77
7.3.30.0020.01214.71
7.3.20.0080.00616.54
7.3.10.0040.01016.60
7.3.00.0070.00716.42
7.2.330.0090.00916.37
7.2.320.0100.00616.40
7.2.310.0060.00916.48
7.2.300.0070.01016.32
7.2.290.0120.00616.59
7.2.260.0070.01414.96
7.2.250.0110.00515.11
7.2.240.0030.01214.97
7.2.230.0080.00614.95
7.2.220.0050.00915.05
7.2.210.0070.00314.76
7.2.200.0090.00514.97
7.2.190.0050.00914.80
7.2.180.0080.00614.84
7.2.170.0070.00814.94
7.2.160.0090.00614.97
7.2.150.0000.01416.89
7.2.140.0040.00716.69
7.2.130.0030.00616.90
7.2.120.0080.00416.82
7.2.110.0100.00016.55
7.2.100.0040.00816.93
7.2.90.0070.00316.65
7.2.80.0100.00316.84
7.2.70.0140.00316.88
7.2.60.0070.00916.93
7.2.50.0040.01516.98
7.2.40.0090.00916.79
7.2.30.0040.01416.70
7.2.20.0060.00616.93
7.2.10.0000.00916.82
7.2.00.0080.00618.21
7.1.330.0070.00715.69
7.1.320.0030.00915.53
7.1.310.0050.00615.53
7.1.300.0080.00515.43
7.1.290.0050.01115.75
7.1.280.0070.00715.52
7.1.270.0030.00915.81
7.1.260.0000.01315.54
7.1.250.0000.01115.89
7.1.240.0030.00615.44
7.1.230.0040.00715.84
7.1.220.0080.00015.55
7.1.210.0040.01115.43
7.1.200.0080.00315.56
7.1.190.0080.00415.73
7.1.180.0000.01715.66
7.1.170.0000.01415.71
7.1.160.0030.01615.56
7.1.150.0070.01015.78
7.1.140.0090.00615.72
7.1.130.0120.00615.42
7.1.120.0040.01115.56
7.1.110.0030.01315.77
7.1.100.0040.01016.75
7.1.90.0040.00815.51
7.1.80.0080.00815.54
7.1.70.0030.00816.30
7.1.60.0080.01017.54
7.1.50.0050.01016.13
7.1.40.0000.01415.36
7.1.30.0030.01315.54
7.1.20.0090.00615.61
7.1.10.0120.00415.48
7.1.00.0000.04319.07
7.0.330.0030.01015.26
7.0.320.0070.00715.33
7.0.310.0060.01215.24
7.0.300.0000.00915.01
7.0.290.0110.00715.33
7.0.280.0110.00315.34
7.0.270.0110.00315.03
7.0.260.0070.00715.27
7.0.250.0060.00615.28
7.0.240.0000.01415.32
7.0.230.0000.01515.42
7.0.220.0030.01315.10
7.0.210.0070.00315.27
7.0.200.0020.00915.87
7.0.190.0100.00315.04
7.0.180.0000.01615.24
7.0.170.0030.01015.27
7.0.160.0030.00915.23
7.0.150.0000.01015.33
7.0.140.0030.00715.27
7.0.130.0130.00315.16
7.0.120.0060.01015.37
7.0.110.0070.00715.24
7.0.100.0050.00315.29
7.0.90.0030.01015.18
7.0.80.0140.00015.00
7.0.70.0090.03818.56
7.0.60.0020.04918.48
7.0.50.0050.04318.71
7.0.40.0000.03316.70
7.0.30.0030.04716.70
7.0.20.0040.03916.74
7.0.10.0050.04316.76
7.0.00.0060.04216.74
5.6.400.0060.00614.22
5.6.390.0030.01214.38
5.6.380.0120.00014.26
5.6.370.0030.01414.54
5.6.360.0030.01314.25
5.6.350.0130.00314.39
5.6.340.0040.01214.48
5.6.330.0060.00914.31
5.6.320.0030.01313.93
5.6.310.0060.00314.55
5.6.300.0030.00614.45
5.6.290.0040.00714.40
5.6.280.0070.03217.64
5.6.270.0030.01214.57
5.6.260.0090.00314.43
5.6.250.0060.00614.41
5.6.240.0000.01214.40
5.6.230.0080.00414.36
5.6.220.0050.04317.30
5.6.210.0070.03217.35
5.6.200.0100.03217.76
5.6.190.0060.04317.71
5.6.180.0060.02117.64
5.6.170.0190.03317.54
5.6.160.0080.04517.67
5.6.150.0080.02817.62
5.6.140.0060.03617.58
5.6.130.0050.04617.59
5.6.120.0040.02717.57
5.6.110.0030.02517.68
5.6.100.0060.04117.63
5.6.90.0080.03017.62
5.6.80.0090.04117.15
5.6.70.0050.04617.27
5.6.60.0110.03717.46
5.6.50.0020.04617.08
5.6.40.0050.03017.21
5.6.30.0100.02717.27
5.6.20.0030.04417.31
5.6.10.0030.04117.37
5.6.00.0050.04717.29
5.5.380.0040.00414.51
5.5.370.0030.00714.04
5.5.360.0050.03117.34
5.5.350.0050.03517.33
5.5.340.0050.03617.58
5.5.330.0050.03317.54
5.5.320.0060.04317.29
5.5.310.0020.04617.55
5.5.300.0020.04317.71
5.5.290.0050.03417.55
5.5.280.0060.03017.56
5.5.270.0030.04517.63
5.5.260.0100.04217.49
5.5.250.0050.03817.36
5.5.240.0070.04117.14
5.5.230.0070.04317.28
5.5.220.0070.04517.18
5.5.210.0020.04917.27
5.5.200.0040.03017.23
5.5.190.0050.02417.16
5.5.180.0070.03717.17
5.5.170.0070.00614.19
5.5.160.0050.04317.21
5.5.150.0050.04417.04
5.5.140.0020.02717.28
5.5.130.0050.02217.14
5.5.120.0030.04017.24
5.5.110.0070.03017.12
5.5.100.0070.03817.10
5.5.90.0060.04017.20
5.5.80.0070.03817.03
5.5.70.0030.03017.15
5.5.60.0050.03617.07
5.5.50.0020.04417.04
5.5.40.0050.04316.94
5.5.30.0050.03017.17
5.5.20.0130.03517.10
5.5.10.0070.03316.91
5.5.00.0070.04016.76
5.4.450.0070.05319.40
5.4.440.0030.05319.37
5.4.430.0100.04719.22
5.4.420.0030.07719.35
5.4.410.0030.05019.27
5.4.400.0100.06719.01
5.4.390.0030.08319.14
5.4.380.0030.07719.06
5.4.370.0070.07718.90
5.4.360.0070.05719.09
5.4.350.0030.03719.10
5.4.340.0030.05018.96
5.4.320.0070.07019.12
5.4.310.0030.07318.90
5.4.300.0000.07319.06
5.4.290.0030.07719.14
5.4.280.0100.07719.18
5.4.270.0070.07718.91
5.4.260.0030.07719.07
5.4.250.0030.05319.05
5.4.240.0030.07018.89
5.4.230.0030.08018.80
5.4.220.0100.07019.19
5.4.210.0070.05718.80
5.4.200.0030.06319.04
5.4.190.0070.07019.02
5.4.180.0000.06318.89
5.4.170.0000.07318.80
5.4.160.0030.08318.88
5.4.150.0030.08319.02
5.4.140.0070.06316.27
5.4.130.0000.06016.32
5.4.120.0100.06716.38
5.4.110.0070.06716.43
5.4.100.0030.05016.32
5.4.90.0000.05316.21
5.4.80.0030.05316.22
5.4.70.0030.07016.39
5.4.60.0000.06016.41
5.4.50.0070.07316.28
5.4.40.0100.06716.25
5.4.30.0000.07316.30
5.4.20.0030.07016.41
5.4.10.0000.08016.22
5.4.00.0070.06715.80
5.3.290.0030.08014.61
5.3.280.0000.07014.43
5.3.270.0030.06714.42
5.3.260.0000.07314.56
5.3.250.0000.04714.46
5.3.240.0100.04314.56
5.3.230.0070.04714.45
5.3.220.0030.08014.55
5.3.210.0030.08014.52
5.3.200.0000.05014.52
5.3.190.0000.07714.52
5.3.180.0000.04714.39
5.3.170.0000.08314.54
5.3.160.0130.06714.42
5.3.150.0000.07714.42
5.3.140.0070.07014.42
5.3.130.0000.08014.52
5.3.120.0030.04714.45
5.3.110.0070.07714.46
5.3.100.0000.06714.04
5.3.90.0000.07313.89
5.3.80.0070.05713.88
5.3.70.0030.07714.00
5.3.60.0070.04313.86
5.3.50.0100.06313.90
5.3.40.0000.07713.90
5.3.30.0030.07313.84
5.3.20.0030.05713.67
5.3.10.0100.06313.63
5.3.00.0030.07713.58
5.2.170.0130.05312.47
5.2.160.0070.06012.47
5.2.150.0070.06012.47
5.2.140.0130.05312.47
5.2.130.0000.03712.47
5.2.120.0070.04312.47
5.2.110.0000.06712.47
5.2.100.0030.03012.47
5.2.90.0000.03012.47
5.2.80.0100.02312.47
5.2.70.0000.06312.47
5.2.60.0030.06312.47
5.2.50.0000.03012.47
5.2.40.0030.06012.47
5.2.30.0100.05712.47
5.2.20.0070.05012.47
5.2.10.0030.06312.47
5.2.00.0000.05012.47
5.1.60.0030.05712.47
5.1.50.0100.03712.47
5.1.40.0030.05312.47
5.1.30.0000.05012.47
5.1.20.0030.05712.47
5.1.10.0000.05312.47
5.1.00.0000.04712.47
5.0.50.0000.04012.47
5.0.40.0030.04312.47
5.0.30.0030.04712.47
5.0.20.0030.04312.47
5.0.10.0030.04012.47
5.0.00.0000.06312.47
4.4.90.0000.04012.47
4.4.80.0000.01712.47
4.4.70.0030.03712.47
4.4.60.0000.03312.47
4.4.50.0100.02712.47
4.4.40.0070.04312.47
4.4.30.0030.02712.47
4.4.20.0000.02312.47
4.4.10.0070.02712.47
4.4.00.0070.03712.47
4.3.110.0000.03012.47
4.3.100.0000.03712.47
4.3.90.0000.03312.47
4.3.80.0030.03312.47
4.3.70.0070.02012.47
4.3.60.0000.03312.47
4.3.50.0000.03312.47
4.3.40.0000.05012.47
4.3.30.0000.03712.47
4.3.20.0000.03012.47
4.3.10.0030.03712.47
4.3.00.0000.03012.47

preferences:
15.5 ms | 406 KiB | 5 Q