3v4l.org

run code in 300+ PHP versions simultaneously
<?php $defaultArrangement=array('sixteen','eight','eight','twelve','four','eight','eight','nine','seven','nine','seven'); $iColumns=0; $counter=0; while ($counter < 15) { echo $defaultArrangement[$iColumns]."\n"; $iColumns++; $counter++; if ($iColumns > count($defaultArrangement)-1) { $iColumns = 0; } } ?>

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.0150.00618.18
8.3.60.0140.00716.75
8.3.50.0080.01021.99
8.3.40.0040.01118.97
8.3.30.0070.00719.04
8.3.20.0070.00020.34
8.3.10.0000.00721.80
8.3.00.0070.00019.26
8.2.190.0030.01318.24
8.2.180.0100.01018.29
8.2.170.0030.01222.96
8.2.160.0120.00422.17
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0080.00019.68
8.2.110.0080.00020.49
8.2.100.0120.00017.92
8.2.90.0050.00319.36
8.2.80.0050.00317.97
8.2.70.0000.00817.75
8.2.60.0040.00418.03
8.2.50.0060.00318.07
8.2.40.0080.00418.03
8.2.30.0050.00219.48
8.2.20.0040.00417.64
8.2.10.0040.00417.96
8.2.00.0030.00617.66
8.1.280.0140.00725.92
8.1.270.0060.00318.88
8.1.260.0070.00026.35
8.1.250.0050.00228.09
8.1.240.0000.00923.93
8.1.230.0030.00719.16
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0050.00317.23
8.1.180.0070.00018.10
8.1.170.0040.00418.65
8.1.160.0080.00022.03
8.1.150.0080.00018.89
8.1.140.0030.00519.30
8.1.130.0030.00317.71
8.1.120.0000.00717.36
8.1.110.0040.00417.43
8.1.100.0000.00717.41
8.1.90.0000.00717.47
8.1.80.0000.00717.46
8.1.70.0030.00317.49
8.1.60.0080.00417.64
8.1.50.0040.00417.55
8.1.40.0070.00317.55
8.1.30.0000.00817.70
8.1.20.0000.00817.69
8.1.10.0000.00717.41
8.1.00.0060.00317.56
8.0.300.0050.00318.77
8.0.290.0000.00716.75
8.0.280.0000.00718.45
8.0.270.0030.00317.29
8.0.260.0000.00617.34
8.0.250.0000.00716.96
8.0.240.0000.00716.98
8.0.230.0070.00016.93
8.0.220.0030.00316.95
8.0.210.0030.00416.79
8.0.200.0070.00016.88
8.0.190.0000.00717.02
8.0.180.0000.00816.93
8.0.170.0030.00616.79
8.0.160.0080.00016.79
8.0.150.0080.00016.82
8.0.140.0030.00716.79
8.0.130.0000.00613.41
8.0.120.0000.00816.77
8.0.110.0000.00716.80
8.0.100.0050.00316.92
8.0.90.0070.00016.84
8.0.80.0060.01616.89
8.0.70.0000.00816.88
8.0.60.0030.00516.85
8.0.50.0000.00816.87
8.0.30.0140.00917.16
8.0.20.0090.00917.40
8.0.10.0070.00017.02
8.0.00.0100.00816.64
7.4.330.0030.00315.03
7.4.320.0000.00616.60
7.4.300.0070.00016.45
7.4.290.0040.00416.52
7.4.280.0000.00716.42
7.4.270.0000.00716.56
7.4.260.0040.00416.50
7.4.250.0000.00716.37
7.4.240.0000.00716.55
7.4.230.0000.00716.63
7.4.220.0090.00916.52
7.4.210.0090.00616.66
7.4.200.0030.00316.71
7.4.160.0100.00716.47
7.4.150.0120.00617.40
7.4.140.0160.00317.86
7.4.130.0070.01016.55
7.4.120.0080.01016.50
7.4.110.0120.00616.64
7.4.100.0070.01116.45
7.4.90.0130.00316.70
7.4.80.0100.00719.39
7.4.70.0080.01216.51
7.4.60.0030.01316.34
7.4.50.0000.00716.25
7.4.40.0060.00916.50
7.4.30.0070.01016.58
7.4.00.0110.00715.04
7.3.330.0030.00313.29
7.3.320.0000.00713.07
7.3.310.0000.00816.11
7.3.300.0040.00416.26
7.3.290.0100.00516.26
7.3.280.0080.01016.29
7.3.270.0080.00817.40
7.3.260.0050.01216.51
7.3.250.0090.01116.42
7.3.240.0100.00716.34
7.3.230.0110.00716.46
7.3.210.0060.00916.23
7.3.200.0080.00819.39
7.3.190.0120.00416.59
7.3.180.0080.00816.27
7.3.170.0000.02216.35
7.3.160.0060.01616.45
7.3.00.0090.00316.75
7.2.330.0160.00416.60
7.2.320.0070.01016.75
7.2.310.0080.00816.70
7.2.300.0130.01016.55
7.2.290.0030.01916.47
7.2.130.0070.00416.94
7.2.120.0060.00617.02
7.2.110.0060.00616.73
7.2.100.0000.01217.02
7.2.90.0080.00416.96
7.2.80.0040.01116.75
7.2.70.0060.00616.89
7.2.60.0080.00716.54
7.2.50.0090.00316.83
7.2.40.0080.00016.82
7.2.30.0040.01117.05
7.2.20.0070.00416.77
7.2.10.0090.00616.92
7.2.00.0030.01217.94
7.1.250.0030.01015.80
7.1.240.0030.00915.66
7.1.230.0080.00415.66
7.1.220.0060.00315.88
7.1.210.0080.00615.70
7.1.200.0090.00615.75
7.1.190.0040.00715.73
7.1.180.0100.00315.88
7.1.170.0120.00015.89
7.1.160.0100.00315.53
7.1.150.0100.00315.59
7.1.140.0070.00715.56
7.1.130.0070.00715.82
7.1.120.0040.00715.62
7.1.110.0040.01215.99
7.1.100.0070.00416.80
7.1.90.0040.01115.73
7.1.80.0000.01115.80
7.1.70.0090.00216.49
7.1.60.0090.01017.63
7.1.50.0020.01116.44
7.1.40.0000.01015.57
7.1.30.0030.00615.84
7.1.20.0090.00615.86
7.1.10.0120.00315.94
7.1.00.0030.04318.95
7.0.330.0030.00615.37
7.0.320.0060.00615.15
7.0.310.0030.00715.23
7.0.300.0070.00715.25
7.0.290.0060.00615.18
7.0.280.0040.00815.46
7.0.270.0100.00315.48
7.0.260.0060.00615.55
7.0.250.0060.00615.43
7.0.240.0090.00615.34
7.0.230.0070.00715.44
7.0.220.0050.00515.43
7.0.210.0030.00715.61
7.0.200.0040.00516.20
7.0.190.0040.00715.34
7.0.180.0060.00615.29
7.0.170.0070.00715.42
7.0.160.0030.01015.49
7.0.150.0060.00615.48
7.0.140.0050.03218.81
7.0.130.0000.01315.48
7.0.120.0030.01415.60
7.0.110.0110.00415.27
7.0.100.0040.00715.11
7.0.90.0050.00315.32
7.0.80.0090.00615.15
7.0.70.0030.00615.36
7.0.60.0000.03517.70
7.0.50.0100.03516.44
7.0.40.0000.03216.88
7.0.30.0140.02216.75
7.0.20.0190.03116.80
7.0.10.0050.04216.80
7.0.00.0070.03716.71
5.6.380.0060.00314.34
5.6.370.0000.01014.13
5.6.360.0040.00414.27
5.6.350.0040.00414.39
5.6.340.0060.00614.43
5.6.330.0030.01014.50
5.6.320.0090.00614.50
5.6.310.0070.00714.42
5.6.300.0060.00314.56
5.6.290.0100.00314.18
5.6.280.0080.03317.82
5.6.270.0060.00614.27
5.6.260.0000.01214.48
5.6.250.0070.00714.31
5.6.240.0030.01014.14
5.6.230.0060.00314.13
5.6.220.0060.00314.30
5.6.210.0170.03717.40
5.6.200.0070.04616.20
5.6.190.0090.02717.36
5.6.180.0220.02617.51
5.6.170.0200.03917.36
5.6.160.0110.02117.49
5.6.150.0050.04116.41
5.6.140.0030.03216.20
5.6.130.0050.02516.27
5.6.120.0060.02217.84
5.6.110.0050.04517.75
5.6.100.0030.03917.72
5.6.90.0050.04017.75
5.6.80.0060.04317.39
5.6.70.0040.01114.26
5.6.60.0060.00614.36
5.6.50.0070.00314.20
5.6.40.0000.00914.30
5.6.30.0030.01314.20
5.6.20.0040.01114.24
5.6.10.0060.00614.13
5.6.00.0060.00914.18
5.5.380.0030.00310.72
5.5.370.0030.00611.15
5.5.360.0030.00611.02
5.5.350.0150.04015.78
5.5.340.0060.04114.45
5.5.330.0050.04715.68
5.5.320.0050.02215.65
5.5.310.0110.02515.78
5.5.300.0040.04114.54
5.5.290.0150.02814.39
5.5.280.0100.04316.08
5.5.270.0030.03515.88
5.5.260.0100.04415.91
5.5.250.0050.04315.69
5.5.240.0030.04015.76
5.5.230.0000.01011.04
5.5.220.0050.00511.21
5.5.210.0060.00611.05
5.5.200.0030.00310.79
5.5.190.0060.00310.87
5.5.180.0060.00611.10
5.5.170.0000.01110.89
5.5.160.0070.00411.18
5.5.150.0000.00710.82
5.5.140.0030.01011.14
5.5.130.0070.00011.16
5.5.120.0000.01111.08
5.5.110.0040.00711.22
5.5.100.0000.01010.93
5.5.90.0000.01111.23
5.5.80.0000.00811.25
5.5.70.0030.00610.99
5.5.60.0000.00611.17
5.5.50.0110.00010.91
5.5.40.0000.01111.10
5.5.30.0050.00511.18
5.5.20.0030.00611.18
5.5.10.0080.00311.00
5.5.00.0080.00011.12
5.4.450.0050.03515.22
5.4.440.0070.03615.30
5.4.430.0060.03115.23
5.4.420.0050.03115.27
5.4.410.0150.03615.17
5.4.400.0280.02815.07
5.4.390.0150.02614.67
5.4.380.0090.03314.66
5.4.370.0110.03014.71
5.4.360.0120.03314.85
5.4.350.0140.03014.75
5.4.340.0120.03314.69
5.4.330.0030.00310.66
5.4.320.0080.03514.78
5.4.310.0100.03014.53
5.4.300.0120.03814.83
5.4.290.0180.03514.67
5.4.280.0170.03014.83
5.4.270.0140.03114.71
5.4.260.0150.03114.85
5.4.250.0120.03314.74
5.4.240.0190.02814.95
5.4.230.0120.03914.68
5.4.220.0100.03514.73
5.4.210.0170.03414.85
5.4.200.0100.03213.75
5.4.190.0160.02814.78
5.4.180.0130.03214.86
5.4.170.0150.03214.86
5.4.160.0140.02614.61
5.4.150.0150.02614.71
5.4.140.0120.02913.66
5.4.130.0150.02513.45
5.4.120.0100.02813.50
5.4.110.0100.02813.56
5.4.100.0120.02513.71
5.4.90.0130.02813.49
5.4.80.0150.02813.46
5.4.70.0120.02713.63
5.4.60.0100.02813.64
5.4.50.0150.02413.52
5.4.40.0220.03013.60
5.4.30.0120.03313.67
5.4.20.0150.03013.59
5.4.10.0130.02913.52
5.4.00.0120.03013.32
5.3.290.0030.04512.46
5.3.280.0100.03312.57
5.3.270.0110.02612.50
5.3.260.0100.03312.60
5.3.250.0170.03012.51
5.3.240.0180.02812.48
5.3.230.0070.03312.53
5.3.220.0120.02712.47
5.3.210.0130.03312.50
5.3.200.0170.02312.48
5.3.190.0100.03312.53
5.3.180.0220.03012.54
5.3.170.0130.03112.42
5.3.160.0080.03312.51
5.3.150.0130.04512.58
5.3.140.0100.03812.44
5.3.130.0160.03712.46
5.3.120.0110.02912.53
5.3.110.0200.03212.54
5.3.100.0170.03212.15
5.3.90.0140.03612.24
5.3.80.0170.03212.17
5.3.70.0130.02812.12
5.3.60.0180.02412.22
5.3.50.0140.03312.16
5.3.40.0130.03312.22
5.3.30.0150.03412.15
5.3.20.0140.02412.08
5.3.10.0120.03011.90
5.3.00.0100.03211.91
5.2.170.0110.02310.53
5.2.160.0100.03210.62
5.2.150.0080.02310.62
5.2.140.0110.02810.57
5.2.130.0170.01810.54
5.2.120.0070.02810.54
5.2.110.0070.02510.50
5.2.100.0120.02010.52
5.2.90.0150.02310.51
5.2.80.0100.03110.51
5.2.70.0080.02310.52
5.2.60.0050.02610.50
5.2.50.0140.02010.51
5.2.40.0030.02610.43
5.2.30.0050.02610.44
5.2.20.0100.02610.41
5.2.10.0150.02310.42
5.2.00.0080.02210.36
5.1.60.0070.02010.00
5.1.50.0060.02110.04
5.1.40.0030.0229.96
5.1.30.0080.02610.16
5.1.20.0060.02410.15
5.1.10.0080.02210.03
5.1.00.0070.02210.00
5.0.50.0070.0179.42
5.0.40.0030.0249.42
5.0.30.0070.0299.42
5.0.20.0030.0199.42
5.0.10.0120.0209.42
5.0.00.0050.0279.42
4.4.90.0040.0199.42
4.4.80.0080.0109.42
4.4.70.0030.0149.42
4.4.60.0050.0109.42
4.4.50.0070.0139.42
4.4.40.0030.0219.42
4.4.30.0050.0129.42
4.4.20.0030.0169.42
4.4.10.0050.0159.42
4.4.00.0020.0209.42
4.3.110.0080.0109.42
4.3.100.0060.0119.42
4.3.90.0080.0119.42
4.3.80.0070.0189.42
4.3.70.0100.0169.42
4.3.60.0050.0129.42
4.3.50.0060.0109.42
4.3.40.0090.0159.42
4.3.30.0070.0109.42
4.3.20.0020.0159.42
4.3.10.0050.0119.42
4.3.00.0050.0139.66

preferences:
42.55 ms | 401 KiB | 5 Q