3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); class Test implements \IteratorAggregate { public function getIterator(){} } function test(iterable $it){ var_dump($it); } test((new Test)); test([1,2,3]);

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.0100.00716.88
8.3.60.0090.00916.38
8.3.50.0060.00916.34
8.3.40.0080.00818.79
8.3.30.0130.00318.50
8.3.20.0040.00418.49
8.3.10.0050.00321.86
8.3.00.0040.00423.52
8.2.190.0100.00616.75
8.2.180.0120.00616.50
8.2.170.0150.00022.96
8.2.160.0070.00718.84
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0090.00026.16
8.2.120.0040.00421.05
8.2.110.0160.00320.25
8.2.100.0060.00617.66
8.2.90.0040.00417.91
8.2.80.0040.00417.97
8.2.70.0000.00917.93
8.2.60.0040.00417.91
8.2.50.0080.00018.10
8.2.40.0040.00419.38
8.2.30.0050.00320.47
8.2.20.0060.00318.08
8.2.10.0040.00417.86
8.2.00.0030.00617.97
8.1.280.0100.00725.92
8.1.270.0040.00422.06
8.1.260.0000.00926.35
8.1.250.0040.00428.09
8.1.240.0090.00022.48
8.1.230.0040.00722.82
8.1.220.0060.00317.74
8.1.210.0040.00418.87
8.1.200.0040.00417.23
8.1.190.0040.00418.89
8.1.180.0040.00418.10
8.1.170.0040.00418.43
8.1.160.0000.00818.77
8.1.150.0000.00718.82
8.1.140.0050.00218.86
8.1.130.0000.00720.25
8.1.120.0040.00417.43
8.1.110.0040.00417.43
8.1.100.0070.00417.28
8.1.90.0050.00317.40
8.1.80.0080.00017.30
8.1.70.0000.00717.35
8.1.60.0000.01017.50
8.1.50.0030.00617.43
8.1.40.0040.00417.34
8.1.30.0050.00317.47
8.1.20.0020.00517.54
8.1.10.0040.00417.30
8.1.00.0040.00417.40
8.0.300.0040.00419.88
8.0.290.0080.00016.63
8.0.280.0030.00318.43
8.0.270.0030.00317.26
8.0.260.0000.00620.18
8.0.250.0000.00717.01
8.0.240.0040.00416.88
8.0.230.0000.00716.86
8.0.220.0000.00816.90
8.0.210.0000.00716.95
8.0.200.0000.00716.89
8.0.190.0050.00316.82
8.0.180.0000.00916.80
8.0.170.0060.00316.81
8.0.160.0070.00016.89
8.0.150.0000.00716.86
8.0.140.0000.00816.85
8.0.130.0050.00013.27
8.0.120.0030.00616.84
8.0.110.0000.00816.74
8.0.100.0070.00016.70
8.0.90.0030.00316.78
8.0.80.0110.00816.86
8.0.70.0080.00016.71
8.0.60.0040.00416.87
8.0.50.0050.00316.87
8.0.30.0090.00916.99
8.0.20.0130.01017.40
8.0.10.0000.00717.04
8.0.00.0120.00716.80
7.4.330.0050.00015.55
7.4.320.0030.00316.42
7.4.300.0000.00616.32
7.4.290.0040.00416.30
7.4.280.0000.00716.31
7.4.270.0000.00716.33
7.4.260.0050.00516.37
7.4.250.0020.00516.48
7.4.240.0000.00716.40
7.4.230.0000.00716.27
7.4.220.0040.00416.39
7.4.210.0100.00816.48
7.4.200.0030.00316.37
7.4.160.0080.00816.41
7.4.140.0100.00917.86
7.4.130.0110.01116.46
7.4.120.0100.00916.39
7.4.110.0200.00316.64
7.4.100.0100.00616.37
7.4.90.0090.01016.29
7.4.80.0070.01019.39
7.4.70.0030.01316.54
7.4.60.0090.00816.42
7.4.50.0070.00716.34
7.4.40.0060.01216.56
7.4.00.0040.01414.91
7.3.330.0000.00513.21
7.3.320.0000.00513.28
7.3.310.0060.00016.35
7.3.300.0040.00416.18
7.3.290.0030.00316.23
7.3.280.0090.01216.18
7.3.260.0150.00716.35
7.3.240.0110.00616.40
7.3.230.0110.00616.37
7.3.210.0000.01616.30
7.3.200.0030.01816.59
7.3.190.0130.00916.23
7.3.180.0090.00816.45
7.3.170.0070.01016.57
7.3.160.0060.00916.49
7.3.10.0000.01516.74
7.3.00.0090.00316.57
7.2.330.0090.01516.53
7.2.320.0090.00916.48
7.2.310.0060.01216.28
7.2.300.0040.01316.55
7.2.290.0060.01216.18
7.2.130.0060.00616.75
7.2.120.0130.00016.56
7.2.110.0100.00516.61
7.2.100.2040.01015.71
7.2.90.2240.01015.81
7.2.80.2210.01415.63
7.2.70.1970.00715.96
7.2.60.2030.00615.86
7.2.50.2270.00915.90
7.2.40.1920.00415.72
7.2.30.0220.00215.77
7.2.20.1410.01015.80
7.2.10.2260.01215.82
7.2.00.2010.00015.67
7.1.250.0030.00915.55
7.1.220.4480.00313.81
7.1.210.4710.00914.02
7.1.200.3730.00613.74
7.1.190.4310.01013.88
7.1.180.3970.00713.88
7.1.170.4390.01013.86
7.1.160.3940.01014.05
7.1.150.3790.00613.95
7.1.140.4150.00713.27
7.1.130.4090.01013.89
7.1.120.4200.00613.96
7.1.110.4670.01013.88
7.1.100.2420.00313.63
7.1.90.5620.00313.48
7.1.80.4820.00913.50
7.1.70.4720.01313.41
7.1.60.5490.00931.61
7.1.50.9180.01031.61
7.1.40.8520.01031.77
7.1.30.8630.00331.42
7.1.21.0680.01031.18
7.1.10.9480.00013.91
7.1.00.5210.01013.81
5.6.380.0130.00914.13

preferences:
19.56 ms | 401 KiB | 5 Q