3v4l.org

run code in 300+ PHP versions simultaneously
<?php $v = []; foreach ($v as $x) { echo 'x'; }

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.120.0100.01020.70
8.3.110.0000.00816.38
8.3.100.0050.00324.06
8.3.90.0000.00826.77
8.3.80.0030.00618.30
8.3.70.0110.01118.31
8.3.60.0040.01518.07
8.3.50.0140.00717.50
8.3.40.0060.00918.45
8.3.30.0060.00918.33
8.3.20.0070.00021.73
8.3.10.0070.00023.61
8.3.00.0080.00023.61
8.2.240.0000.00918.84
8.2.230.0000.00820.94
8.2.220.0040.00437.54
8.2.210.0070.01126.77
8.2.200.0030.00616.25
8.2.190.0120.00616.63
8.2.180.0110.00716.33
8.2.170.0090.00622.96
8.2.160.0070.00720.18
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00321.02
8.2.110.0030.00622.13
8.2.100.0040.00821.13
8.2.90.0040.00417.75
8.2.80.0000.00818.80
8.2.70.0000.00817.93
8.2.60.0040.00417.63
8.2.50.0040.00418.22
8.2.40.0050.00220.55
8.2.30.0080.00020.62
8.2.20.0080.00318.04
8.2.10.0000.00717.68
8.2.00.0040.00418.10
8.1.300.0070.01119.98
8.1.290.0060.00330.84
8.1.280.0110.00325.92
8.1.270.0040.00423.79
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.00923.96
8.1.230.0110.00019.18
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0080.00017.34
8.1.180.0000.00918.10
8.1.170.0040.00418.59
8.1.160.0000.00718.75
8.1.150.0000.00720.25
8.1.140.0050.00217.70
8.1.130.0080.00019.06
8.1.120.0030.00517.49
8.1.110.0030.00517.44
8.1.100.0050.00317.33
8.1.90.0050.00317.37
8.1.80.0000.00717.47
8.1.70.0000.00717.39
8.1.60.0030.00617.45
8.1.50.0070.00017.55
8.1.40.0060.00317.51
8.1.30.0000.00717.60
8.1.20.0000.00817.53
8.1.10.0050.00217.34
8.1.00.0000.00817.38
8.0.300.0040.00418.77
8.0.290.0080.00016.75
8.0.280.0070.00018.45
8.0.270.0040.00417.23
8.0.260.0030.00716.87
8.0.250.0000.00716.98
8.0.240.0050.00316.92
8.0.230.0000.00716.95
8.0.220.0030.00316.82
8.0.210.0050.00216.78
8.0.200.0060.00016.98
8.0.190.0070.00016.92
8.0.180.0000.00816.87
8.0.170.0040.00416.82
8.0.160.0040.00416.96
8.0.150.0000.00816.73
8.0.140.0000.00816.88
8.0.130.0030.00313.34
8.0.120.0030.00616.83
8.0.110.0070.00016.87
8.0.100.0030.00616.82
8.0.90.0000.00716.86
8.0.80.0030.01316.77
8.0.70.0000.00816.99
8.0.60.0070.00016.74
8.0.50.0000.00716.70
8.0.30.0120.00616.92
8.0.20.0170.00317.40
8.0.10.0070.00016.89
8.0.00.0040.01316.63
7.4.330.0030.00315.55
7.4.320.0030.00316.63
7.4.300.0000.00616.49
7.4.290.0000.00716.54
7.4.280.0000.00816.48
7.4.270.0000.00716.48
7.4.260.0030.00316.48
7.4.250.0040.00416.36
7.4.240.0000.00716.35
7.4.230.0040.00416.66
7.4.220.0080.00016.57
7.4.210.0070.00716.60
7.4.200.0000.00716.60
7.4.160.0070.01016.41
7.4.140.0110.00817.86
7.4.130.0070.01016.64
7.4.120.0100.01016.50
7.4.110.0060.01016.35
7.4.100.0060.01016.48
7.4.90.0100.01116.38
7.4.80.0060.01619.39
7.4.70.0100.00716.57
7.4.60.0030.01316.54
7.4.50.0040.01116.50
7.4.40.0110.00516.49
7.4.00.0090.00914.93
7.3.330.0020.00213.09
7.3.320.0030.00313.09
7.3.310.0000.00716.19
7.3.300.0030.00316.10
7.3.290.0120.00716.26
7.3.280.0100.00716.26
7.3.260.0100.00916.23
7.3.250.0110.00716.48
7.3.240.0070.01116.38
7.3.230.0040.01216.29
7.3.210.0120.00916.37
7.3.200.0120.00816.28
7.3.190.0070.00716.32
7.3.180.0040.01216.31
7.3.170.0170.00016.61
7.3.160.0060.01016.30
7.3.120.0120.00614.70
7.3.110.0030.01414.81
7.3.100.0000.00914.79
7.3.90.0060.01215.00
7.3.80.0060.00314.68
7.3.70.0100.00014.46
7.3.60.0070.00714.70
7.3.50.0070.00714.84
7.3.40.0050.00514.68
7.3.30.0040.01414.63
7.3.20.0000.01616.77
7.3.10.0090.00616.52
7.3.00.0030.01416.60
7.2.330.0090.00916.31
7.2.320.0100.00716.72
7.2.310.0140.00816.59
7.2.300.0070.01016.46
7.2.290.0030.01316.30
7.2.250.0100.00714.85
7.2.240.0070.01315.13
7.2.230.0030.01215.18
7.2.220.0060.00915.08
7.2.210.0080.00815.16
7.2.200.0050.00515.03
7.2.190.0030.01314.86
7.2.180.0070.01014.87
7.2.170.0060.00914.96
7.2.60.0090.00616.68
7.2.30.0160.01018.25
7.2.20.0170.01317.78
7.2.10.0170.01217.98
7.2.00.0130.00917.88
7.1.330.0070.00715.63
7.1.320.0040.00415.85
7.1.310.0060.00915.64
7.1.300.0040.01115.60
7.1.290.0000.01415.79
7.1.280.0000.01615.57
7.1.270.0040.01115.64
7.1.260.0070.01115.63
7.1.200.0070.00315.54
7.1.150.0140.01016.33
7.1.140.0190.00816.44
7.1.130.0180.00816.87
7.1.120.0150.01116.82
7.1.110.0130.00815.76
7.1.100.0170.01316.21
7.1.90.0110.01215.95
7.1.80.0110.01015.91
7.1.70.0160.01015.30
7.1.60.0360.02233.23
7.1.50.0310.01332.70
7.1.40.0280.01132.62
7.1.30.0300.01132.54
7.1.20.0400.01532.68
7.1.10.0340.01214.58
7.1.00.0150.01214.77

preferences:
61.24 ms | 403 KiB | 5 Q