3v4l.org

run code in 300+ PHP versions simultaneously
<?php function array2CSVarray(array $array) { $sanitized = array(); foreach ($array as $col) { $col = str_replace(array('\\', '"'), array('\/', '\"')); $sanitized[] = "\"$col\""; } return implode(',', $sanitized); }

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.60.0090.00618.52
8.3.50.0050.01616.53
8.3.40.0110.00418.51
8.3.30.0150.00018.63
8.3.20.0080.00018.68
8.3.10.0030.00520.23
8.3.00.0060.00319.13
8.2.180.0090.00616.32
8.2.170.0140.00022.96
8.2.160.0100.00322.25
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00019.83
8.2.110.0070.00420.90
8.2.100.0000.01117.59
8.2.90.0040.00418.81
8.2.80.0070.00017.97
8.2.70.0030.00517.38
8.2.60.0000.00717.91
8.2.50.0090.00018.07
8.2.40.0090.00017.78
8.2.30.0000.00717.84
8.2.20.0040.00417.52
8.2.10.0050.00317.55
8.2.00.0050.00317.43
8.1.280.0090.00625.92
8.1.270.0060.00323.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.01220.52
8.1.230.0060.00621.03
8.1.220.0060.00318.77
8.1.210.0030.00518.85
8.1.200.0050.00517.13
8.1.190.0040.00417.39
8.1.180.0040.00418.10
8.1.170.0000.00818.70
8.1.160.0070.00018.75
8.1.150.0000.00818.51
8.1.140.0040.00417.32
8.1.130.0000.00717.76
8.1.120.0030.00317.34
8.1.110.0040.00417.28
8.1.100.0000.00817.36
8.1.90.0050.00317.38
8.1.80.0070.00017.21
8.1.70.0000.00717.29
8.1.60.0060.00317.40
8.1.50.0000.00817.39
8.1.40.0050.00317.29
8.1.30.0000.00717.41
8.1.20.0030.00517.48
8.1.10.0060.00317.34
8.1.00.0050.00317.21
8.0.300.0060.00319.73
8.0.290.0000.00816.63
8.0.280.0000.00718.32
8.0.270.0000.00817.14
8.0.260.0030.00316.69
8.0.250.0050.00216.81
8.0.240.0070.00316.80
8.0.230.0050.00216.75
8.0.220.0000.00716.70
8.0.210.0030.00316.70
8.0.200.0030.00316.84
8.0.190.0000.00816.75
8.0.180.0040.00416.72
8.0.170.0050.00316.80
8.0.160.0050.00316.74
8.0.150.0000.00716.72
8.0.140.0030.00916.76
8.0.130.0030.00313.13
8.0.120.0040.00416.62
8.0.110.0040.00416.88
8.0.100.0070.00016.71
8.0.90.0030.00616.66
8.0.80.0140.00716.76
8.0.70.0000.00716.78
8.0.60.0000.00716.72
8.0.50.0000.00816.88
8.0.30.0150.00616.88
8.0.20.0090.00917.07
8.0.10.0070.00016.79
8.0.00.0100.01016.65
7.4.330.0030.00314.53
7.4.320.0030.00316.45
7.4.300.0000.00616.36
7.4.290.0060.00016.48
7.4.280.0030.00616.36
7.4.270.0040.00316.37
7.4.260.0030.00313.14
7.4.250.0000.00816.50
7.4.240.0040.00416.36
7.4.230.0030.00316.54
7.4.220.0060.01216.42
7.4.210.0070.00916.47
7.4.200.0030.00316.37
7.4.190.0070.00016.52
7.4.160.0130.00316.53
7.4.150.0140.00317.07
7.4.140.0090.01017.11
7.4.130.0080.01016.33
7.4.120.0130.00716.54
7.4.110.0120.00616.44
7.4.100.0040.01616.37
7.4.90.0090.00916.52
7.4.80.0140.00318.80
7.4.70.0200.00316.08
7.4.60.0090.00916.34
7.4.50.0090.00016.38
7.4.40.0030.00722.27
7.4.30.0150.00316.48
7.4.00.0050.00914.65
7.3.330.0030.00313.11
7.3.320.0060.00013.16
7.3.310.0070.00016.19
7.3.300.0030.00316.05
7.3.290.0070.00716.14
7.3.280.0070.01016.16
7.3.270.0110.00617.07
7.3.260.0070.01018.24
7.3.250.0050.01516.38
7.3.240.0160.00616.42
7.3.230.0160.00016.39
7.3.210.0180.00316.20
7.3.200.0040.01519.39
7.3.190.0080.00816.19
7.3.180.0070.01016.35
7.3.170.0100.00616.27
7.3.160.0040.01216.40
7.3.120.0070.00914.58
7.3.110.0050.01114.63
7.3.100.0030.01314.88
7.3.90.0030.00814.58
7.3.80.0050.01014.55
7.3.70.0050.00514.72
7.3.60.0030.00614.68
7.3.50.0060.00614.68
7.3.40.0120.00414.62
7.3.30.0050.01014.73
7.3.20.0060.01016.47
7.3.10.0030.00916.44
7.3.00.0040.00716.51
7.2.330.0100.00716.24
7.2.320.0070.01716.24
7.2.310.0100.00816.52
7.2.300.0060.01116.17
7.2.290.0100.00716.59
7.2.250.0080.00814.66
7.2.240.0060.01314.67
7.2.230.0090.00914.87
7.2.220.0030.01014.72
7.2.210.0050.01114.93
7.2.200.0050.00914.56
7.2.190.0050.00814.81
7.2.180.0070.00514.89
7.2.170.0080.00514.52
7.2.60.0190.00816.42
7.2.00.0090.00319.27
7.1.330.0080.00515.63
7.1.320.0050.00715.56
7.1.310.0030.01015.42
7.1.300.0090.00715.46
7.1.290.0100.00215.48
7.1.280.0050.00515.46
7.1.270.0070.00715.51
7.1.260.0050.01115.35
7.1.200.0030.01015.45
7.1.100.0070.00317.84
7.1.70.0030.00516.75
7.1.60.0130.00619.40
7.1.50.0040.01916.91
7.1.00.0070.04022.28
7.0.200.0000.00816.68
7.0.140.0000.07321.91
7.0.60.0030.04319.85
7.0.50.0070.07317.89
7.0.40.0070.08720.11
7.0.30.0500.06020.34
7.0.20.0230.05020.30
7.0.10.0300.03720.23
7.0.00.0030.05320.30
5.6.280.0030.07021.07
5.6.210.0300.06320.57
5.6.200.0100.07318.16
5.6.190.0100.06020.61
5.6.180.0000.08720.48
5.6.170.0300.07320.58
5.6.160.0100.08320.46
5.6.150.0100.03318.28
5.6.140.0100.07718.18
5.6.130.0000.04318.20
5.6.120.0000.05320.98
5.6.110.0000.07721.02
5.6.100.0100.07721.11
5.6.90.0070.05720.97
5.6.80.0030.05020.41
5.6.70.4400.04020.42
5.5.350.0230.03720.40
5.5.340.0100.07718.07
5.5.330.0130.08020.43
5.5.320.0230.04020.34
5.5.310.0370.07720.25
5.5.300.0130.04717.95
5.5.290.0100.07717.99
5.5.280.0070.08320.80
5.5.270.0070.07720.94
5.5.260.0030.08720.68
5.5.250.0130.07720.57
5.5.240.0100.06720.04
5.4.450.0230.06719.47
5.4.440.3570.03319.49
5.4.430.0100.05719.53
5.4.420.0100.05719.53
5.4.410.0370.07019.36
5.4.400.0070.05719.39
5.4.390.0030.05719.06
5.4.380.0230.05718.47
5.4.370.0070.05018.57
5.4.360.0130.04718.85
5.4.350.0060.03912.02
5.4.340.0100.05512.02
5.4.320.0060.03612.51
5.4.310.0050.03912.50
5.4.300.0080.03812.50
5.4.290.0060.03912.50
5.4.280.0060.03712.40
5.4.270.0060.03712.40
5.4.260.0070.03812.40
5.4.250.0070.04212.40
5.4.240.0110.03612.40
5.4.230.0060.04512.39
5.4.220.0060.04712.39
5.4.210.0060.04412.39
5.4.200.0060.04212.39
5.4.190.0080.04112.39
5.4.180.0070.04112.39
5.4.170.0040.04412.40
5.4.160.0060.03612.39
5.4.150.0060.03812.39
5.4.140.0050.04012.07
5.4.130.0070.03912.06
5.4.120.0050.03812.01
5.4.110.0080.03512.01
5.4.100.0070.03612.01
5.4.90.0040.03912.01
5.4.80.0070.04412.01
5.4.70.0090.03812.01
5.4.60.0080.03412.01
5.4.50.0070.03812.01
5.4.40.0080.03912.00
5.4.30.0060.04311.99
5.4.20.0100.04112.00
5.4.10.0060.04211.99
5.4.00.0050.04511.48
5.3.290.0070.03912.80
5.3.280.0080.04512.71
5.3.270.0070.04612.73
5.3.260.0060.04812.72
5.3.250.0060.04712.72
5.3.240.0070.04212.72
5.3.230.0080.03812.71
5.3.220.0080.04212.68
5.3.210.0060.04512.68
5.3.200.0090.04612.68
5.3.190.0080.04712.67
5.3.180.0070.04112.67
5.3.170.0070.04312.67
5.3.160.0080.04112.67
5.3.150.0070.03812.67
5.3.140.0080.03612.66
5.3.130.0060.04012.66
5.3.120.0080.04112.66
5.3.110.0070.04212.66
5.3.100.0080.04212.12
5.3.90.0090.05312.10
5.3.80.0120.03912.09
5.3.70.0120.04612.09
5.3.60.0080.04612.08

preferences:
41.41 ms | 401 KiB | 5 Q