3v4l.org

run code in 300+ PHP versions simultaneously
<?php $it = new ArrayIterator([]); $it->next(); var_export($it->current());

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.70.0000.00717.40
8.1.60.0040.00417.41
8.1.50.0000.00817.43
8.1.40.0030.00617.42
8.1.30.0030.00617.59
8.1.20.0000.00917.53
8.1.10.0080.00017.49
8.1.00.0050.00217.47
8.0.200.0030.00316.86
8.0.190.0040.00416.88
8.0.180.0050.00216.79
8.0.170.0000.00816.87
8.0.160.0040.00416.73
8.0.150.0030.00516.74
8.0.140.0000.00716.81
8.0.130.0030.00513.27
8.0.120.0000.00716.69
8.0.110.0000.00716.77
8.0.100.0040.00416.60
8.0.90.0080.00016.77
8.0.80.0140.00016.79
8.0.70.0040.00416.73
8.0.60.0000.00816.69
8.0.50.0040.00416.93
8.0.30.0040.01416.72
8.0.20.0130.00916.80
8.0.10.0040.00416.79
8.0.00.0050.01316.55
7.4.300.0030.00316.40
7.4.290.0040.00416.42
7.4.280.0000.00916.43
7.4.270.0070.00016.34
7.4.260.0030.00313.21
7.4.250.0070.00016.39
7.4.240.0010.00616.49
7.4.230.0000.00716.27
7.4.220.0030.00416.63
7.4.210.0080.00816.46
7.4.200.0000.00816.55
7.4.130.0000.01716.43
7.4.120.0070.01416.24
7.4.110.0030.01316.43
7.4.100.0170.00316.54
7.4.90.0000.01716.45
7.4.80.0110.00419.39
7.4.70.0000.01516.45
7.4.60.0100.00716.39
7.4.50.0030.01016.25
7.4.40.0090.01116.50
7.4.10.0030.01414.45
7.4.00.0100.00714.70
7.3.330.0070.00316.16
7.3.320.0020.00212.98
7.3.310.0070.00016.06
7.3.300.0000.00716.08
7.3.290.0050.00216.14
7.3.280.0090.00616.15
7.3.260.0090.00816.20
7.3.240.0080.00816.22
7.3.230.0100.01016.10
7.3.210.0130.00316.08
7.3.200.0150.00616.15
7.3.190.0080.00816.36
7.3.180.0090.00616.30
7.3.170.0120.00816.11
7.3.160.0100.01316.17
7.3.130.0060.01214.29
7.3.120.0040.01114.52
7.3.110.0030.01214.89
7.3.100.0000.01714.55
7.3.90.0050.01114.60
7.3.80.0110.00314.56
7.3.70.0100.00514.48
7.3.60.0070.01014.75
7.3.50.0070.00914.45
7.3.40.0070.00514.61
7.3.30.0050.01014.51
7.3.20.0100.00715.33
7.3.10.0080.01315.48
7.3.00.0030.01315.43
7.2.330.0140.01016.51
7.2.320.0090.00916.58
7.2.310.0150.00916.54
7.2.300.0140.00716.36
7.2.290.0090.00616.35
7.2.260.0070.00714.81
7.2.250.0030.01014.98
7.2.240.0030.01014.77
7.2.230.0100.00315.12
7.2.220.0120.00814.79
7.2.210.0030.01314.80
7.2.200.0060.00914.95
7.2.190.0080.01014.88
7.2.180.0030.01114.69
7.2.170.0050.00814.91
7.2.160.0090.01014.82
7.2.150.0110.00715.85
7.2.140.0090.01015.76
7.2.130.0080.00915.85
7.2.120.0110.00715.98
7.2.110.0100.00715.81
7.2.100.0100.01015.74
7.2.90.0130.00715.73
7.2.80.0090.00915.80
7.2.70.0090.01215.82
7.2.60.0090.01115.78
7.2.50.0120.00715.90
7.2.40.0100.00715.73
7.2.30.0060.01015.80
7.2.20.0140.00515.74
7.2.10.0070.00915.87
7.2.00.0150.00715.72
7.1.330.0060.00615.62
7.1.320.0100.00714.74
7.1.310.0110.00314.96
7.1.300.0100.00914.56
7.1.290.0070.01014.74
7.1.280.0080.00614.61
7.1.270.0100.01014.59
7.1.260.0080.00914.56
7.1.250.0070.00914.66
7.1.240.0090.00615.50
7.1.230.0060.00915.76
7.1.220.0030.01315.59
7.1.210.0030.01315.71
7.1.200.0080.00415.79
7.1.190.0110.00415.45
7.1.180.0000.01215.12
7.1.170.0030.00715.69
7.1.160.0030.00715.68
7.1.150.0070.00715.09
7.1.140.0030.01015.23
7.1.130.0060.00315.59
7.1.120.0110.00315.36
7.1.110.0040.00715.80
7.1.100.0070.01015.60
7.1.90.0090.00915.56
7.1.80.0030.01015.56
7.1.70.0040.00715.82
7.1.60.0000.00915.72
7.1.50.0090.00615.56
7.1.40.0070.00715.25
7.1.30.0070.00315.70
7.1.20.0000.01115.39
7.1.10.0030.00915.71
7.1.00.0100.00315.71

preferences:
11.21 ms | 406 KiB | 5 Q