3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = new ReflectionClass('ArrayObject'); $constructorParameters = $r->getConstructor()->getParameters(); echo 'Constructor parameters of ArrayObject:' . PHP_EOL; foreach ($constructorParameters as $parameter) { echo '- ' . $parameter->getName() . PHP_EOL; }

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.70.0060.00918.04
8.3.60.0090.00918.06
8.3.50.0170.00521.14
8.3.40.0110.00318.70
8.3.30.0070.00718.71
8.3.20.0050.00320.34
8.3.10.0080.00023.84
8.3.00.0070.00023.70
8.2.190.0070.00718.41
8.2.180.0120.00916.63
8.2.170.0110.00422.96
8.2.160.0100.00320.49
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00420.74
8.2.120.0080.00026.35
8.2.110.0070.00320.92
8.2.100.0080.00417.91
8.2.90.0100.00019.23
8.2.80.0030.00517.97
8.2.70.0080.00017.63
8.2.60.0040.00417.72
8.2.50.0050.00317.55
8.2.40.0030.00622.20
8.2.30.0030.00519.30
8.2.20.0000.00817.61
8.2.10.0040.00417.96
8.2.00.0070.00018.11
8.1.280.0100.00725.92
8.1.270.0110.00722.02
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0100.00022.67
8.1.230.0040.00717.83
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0090.00017.10
8.1.180.0030.00619.01
8.1.170.0070.00418.46
8.1.160.0070.00020.66
8.1.150.0040.00420.67
8.1.140.0000.00819.57
8.1.130.0050.00317.73
8.1.120.0040.00417.52
8.1.110.0000.00717.37
8.1.100.0000.00717.39
8.1.90.0000.00717.38
8.1.80.0050.00317.37
8.1.70.0050.00217.34
8.1.60.0060.00317.46
8.1.50.0030.00517.57
8.1.40.0080.00017.40
8.1.30.0040.00417.49
8.1.20.0040.00417.59
8.1.10.0050.00317.57
8.1.00.0040.00417.39
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0040.00418.35
8.0.270.0030.00317.12
8.0.260.0070.00017.23
8.0.250.0060.00316.91
8.0.240.0030.00516.93
8.0.230.0030.00317.01
8.0.220.0000.00916.75
8.0.210.0000.00816.95
8.0.200.0030.00316.93
8.0.190.0050.00316.84
8.0.180.0050.00216.93
8.0.170.0070.00016.95
8.0.160.0000.00816.79
8.0.150.0000.00716.88
8.0.140.0030.00316.76
8.0.130.0000.00613.31
8.0.120.0030.00516.74
8.0.110.0040.00416.96
8.0.100.0040.00416.94
8.0.90.0070.00016.77
8.0.80.0120.00916.89
8.0.70.0040.00416.66
8.0.60.0000.00716.91
8.0.50.0050.00216.77
8.0.30.0050.01117.27
8.0.20.0070.01117.40
8.0.10.0040.00416.88
8.0.00.0100.00716.82
7.4.330.0050.00016.89
7.4.320.0060.00016.64
7.4.300.0070.00016.51
7.4.290.0000.00716.62
7.4.280.0040.00416.48
7.4.270.0000.00816.64
7.4.260.0000.00716.41
7.4.250.0070.00016.55
7.4.240.0040.00416.51
7.4.230.0070.00016.45
7.4.220.0120.00916.56
7.4.210.0050.01216.63
7.4.200.0000.00716.62
7.4.160.0140.00716.35
7.4.150.0090.00917.40
7.4.140.0230.01717.86
7.4.130.0080.01016.49
7.4.120.0090.00816.48
7.4.110.0110.00516.61
7.4.100.0130.00316.59
7.4.90.0130.00316.47
7.4.80.0070.01019.39
7.4.70.0090.00916.29
7.4.60.0030.01316.57
7.4.50.0090.00616.34
7.4.40.0120.00616.50
7.4.30.0080.01216.57
7.4.00.0050.01015.01
7.3.330.0060.00013.09
7.3.320.0050.00013.14
7.3.310.0000.00716.32
7.3.300.0000.00716.31
7.3.290.0060.00016.25
7.3.280.0030.01116.30
7.3.270.0040.01317.40
7.3.260.0080.00816.23
7.3.250.0120.00616.28
7.3.240.0100.01016.39
7.3.230.0080.00916.54
7.3.210.0070.01016.34
7.3.200.0090.01419.39
7.3.190.0060.01016.50
7.3.180.0100.00616.48
7.3.170.0100.01016.48
7.3.160.0060.00916.56
7.3.120.0030.01414.88
7.3.110.0140.00314.86
7.3.100.0070.00714.83
7.3.90.0110.00414.87
7.3.80.0130.00314.98
7.3.70.0030.01014.85
7.3.60.0070.00714.73
7.3.50.0090.00914.63
7.3.40.0120.00014.89
7.3.30.0030.01014.71
7.3.20.0120.00316.74
7.3.10.0060.00616.79
7.3.00.0030.01016.75
7.2.330.0090.00916.76
7.2.320.0070.01016.75
7.2.310.0100.00716.61
7.2.300.0110.00516.61
7.2.290.0030.01316.50
7.2.250.0090.00915.27
7.2.240.0030.01714.98
7.2.230.0090.00615.15
7.2.220.0070.00714.93
7.2.210.0060.00914.75
7.2.200.0090.00615.00
7.2.190.0100.00614.92
7.2.180.0090.00614.98
7.2.170.0070.00714.93
7.2.60.0110.00416.97
7.2.00.0130.00719.34
7.1.330.0090.00615.86
7.1.320.0070.00315.66
7.1.310.0090.00615.70
7.1.300.0120.00415.68
7.1.290.0090.00915.53
7.1.280.0060.00815.71
7.1.270.0000.01015.60
7.1.260.0030.00915.84
7.1.200.0080.00415.93
7.1.100.0050.00518.13
7.1.70.0040.00717.20
7.1.60.0030.02019.40
7.1.50.0090.01216.95
7.1.00.0030.07022.41
7.0.200.0310.01014.66
7.0.70.0030.08321.80
7.0.60.0070.05721.77
7.0.50.0100.07722.12
7.0.40.0030.04019.95
7.0.30.0030.04020.10
7.0.20.0070.04320.13
7.0.10.0000.04320.05
7.0.00.0070.03720.00
5.6.280.0000.04020.92
5.6.220.0030.08320.49
5.6.210.0030.08020.55
5.6.200.0000.06021.01
5.6.190.0100.05021.04
5.6.180.0030.04021.17
5.6.170.0030.06021.02
5.6.160.0000.04321.14
5.6.150.0030.04721.08
5.6.140.0100.03321.01
5.6.130.0170.02721.11
5.6.120.0030.04321.13
5.6.110.0030.04320.95
5.6.100.0000.08721.12
5.6.90.0000.05321.05
5.6.80.0100.03320.44
5.6.70.0070.04720.38
5.6.60.0000.03320.48
5.6.50.0070.03320.40
5.6.40.0000.05020.46
5.6.30.0000.04020.36
5.6.20.0070.03720.43
5.6.10.0100.03020.48
5.6.00.0070.03320.39
5.5.360.0030.08320.39
5.5.350.0070.08020.40
5.5.340.0030.07720.79
5.5.330.0030.07020.75
5.5.320.0000.04320.86
5.5.310.0030.04020.86
5.5.300.0000.06020.77
5.5.290.0030.04320.82
5.5.280.0030.04720.91
5.5.270.0030.04020.88
5.5.260.0030.08320.75
5.5.250.0030.04020.68
5.5.240.0100.07020.26
5.5.230.0000.08020.21
5.5.220.0070.08020.20
5.5.210.0070.02720.23
5.5.200.0030.03720.13
5.5.190.0070.06320.20
5.5.180.0030.03720.27
5.5.160.0030.04020.14
5.5.150.0030.05020.21
5.5.140.0030.03719.97
5.5.130.0030.04720.24
5.5.120.0000.04020.08
5.5.110.0070.03320.17
5.5.100.0000.04020.10
5.5.90.0070.06320.09
5.5.80.0030.06020.04
5.5.70.0000.04320.06
5.5.60.0030.04020.02
5.5.50.0070.04719.93
5.5.40.0070.03320.09
5.5.30.0000.03320.07
5.5.20.0030.05320.04
5.5.10.0030.04320.10
5.5.00.0000.04020.02

preferences:
48.2 ms | 401 KiB | 5 Q