3v4l.org

run code in 300+ PHP versions simultaneously
<?php $im = imagecreatetruecolor(20, 20); $c = imagecolorallocate($im, 255, 0, 0); imagefilltoborder($im, 0, -999355, $c, $c);

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.0170.00318.31
8.3.50.0090.00922.04
8.3.40.0150.00718.75
8.3.30.0110.00319.09
8.3.20.0030.01320.29
8.3.10.0060.00323.47
8.3.00.0030.01219.25
8.2.180.0100.00716.50
8.2.170.0100.01022.96
8.2.160.0060.00920.16
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0100.00326.16
8.2.120.0000.00722.09
8.2.110.0090.00022.15
8.2.100.0040.00717.63
8.2.90.0000.00719.08
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0040.00417.92
8.2.30.0000.00818.05
8.2.20.0040.00417.74
8.2.10.0080.00018.09
8.2.00.0070.00017.68
8.1.280.0070.01025.92
8.1.270.0070.00723.86
8.1.260.0040.00426.35
8.1.250.0080.00628.09
8.1.240.0030.00723.88
8.1.230.0000.01119.16
8.1.220.0000.00817.75
8.1.210.0060.01318.77
8.1.200.0030.00617.23
8.1.190.0050.00317.13
8.1.180.0000.00818.10
8.1.170.0030.00618.66
8.1.160.0000.00821.88
8.1.150.0040.00418.82
8.1.140.0000.00717.23
8.1.130.0000.00717.63
8.1.120.0000.00717.34
8.1.110.0040.00417.28
8.1.100.0080.00017.33
8.1.90.0000.00817.37
8.1.80.0070.00017.23
8.1.70.0000.00717.23
8.1.60.0090.00317.36
8.1.50.0000.00817.46
8.1.40.0000.00817.32
8.1.30.0000.00817.64
8.1.20.0040.00417.42
8.1.10.0070.00017.40
8.1.00.0030.00617.44
8.0.300.0080.00018.77
8.0.290.0000.00916.75
8.0.280.0050.00318.45
8.0.270.0000.00717.14
8.0.260.0030.00317.23
8.0.250.0000.00716.88
8.0.240.0000.00717.00
8.0.230.0030.00316.87
8.0.220.0070.00016.95
8.0.210.0030.00316.81
8.0.200.0030.00316.84
8.0.190.0040.00416.84
8.0.180.0040.00416.82
8.0.170.0080.00016.88
8.0.160.0000.00716.98
8.0.150.0050.00316.87
8.0.140.0000.00716.82
8.0.130.0030.00313.25
8.0.120.0000.01016.88
8.0.110.0070.00016.88
8.0.100.0000.00716.87
8.0.90.0040.00416.88
8.0.80.0100.00716.77
8.0.70.0070.00016.93
8.0.60.0040.00416.76
8.0.50.0000.00716.68
8.0.30.0090.01417.02
8.0.20.0100.01017.40
8.0.10.0050.00316.85
8.0.00.0070.01016.64
7.4.330.0000.00715.02
7.4.320.0000.00616.31
7.4.300.0000.00616.43
7.4.290.0000.00716.29
7.4.280.0040.00416.32
7.4.270.0030.00316.54
7.4.260.0040.00416.38
7.4.250.0040.00416.48
7.4.240.0020.00516.40
7.4.230.0000.00716.46
7.4.220.0060.01216.53
7.4.210.0040.01116.64
7.4.200.0030.00316.52
7.4.160.0170.00316.45
7.4.150.0120.01217.40
7.4.140.0100.00717.86
7.4.130.0090.00816.39
7.4.120.0060.01116.36
7.4.110.0090.00916.51
7.4.100.0070.01016.46
7.4.90.0130.00316.36
7.4.80.0090.01219.39
7.4.70.0070.01016.36
7.4.60.0120.00316.45
7.4.50.0050.00316.55
7.4.40.0070.01016.42
7.4.30.0100.01316.37
7.4.00.0060.00814.69
7.3.330.0050.00013.17
7.3.320.0000.00513.02
7.3.310.0020.00516.35
7.3.300.0030.00516.28
7.3.290.0110.00616.21
7.3.280.0050.01316.30
7.3.270.0090.00917.40
7.3.260.0080.00816.20
7.3.250.0110.00616.26
7.3.240.0220.00316.30
7.3.230.0060.01016.39
7.3.210.0030.01316.54
7.3.200.0070.00719.39
7.3.190.0140.00316.47
7.3.180.0060.00916.31
7.3.170.0060.01116.27
7.3.160.0040.01216.39
7.3.120.0090.00614.74
7.3.110.0070.01014.46
7.3.100.0090.00315.01
7.3.90.0120.00314.57
7.3.80.0000.01414.76
7.3.70.0040.01414.77
7.3.60.0060.00614.90
7.3.50.0100.00714.57
7.3.40.0060.00914.86
7.3.30.0090.00314.75
7.3.20.0100.00016.56
7.3.10.0060.00916.29
7.3.00.0000.00916.61
7.2.330.0040.01916.30
7.2.320.0090.01416.47
7.2.310.0120.01216.32
7.2.300.0060.00916.23
7.2.290.0120.01216.21
7.2.250.0030.01615.04
7.2.240.0080.01114.95
7.2.230.0060.00915.04
7.2.220.0030.01214.97
7.2.210.0000.01315.16
7.2.200.0000.01914.87
7.2.190.0060.01214.94
7.2.180.0040.01114.63
7.2.170.0070.01314.95
7.2.60.0220.00316.70
7.1.330.0070.01015.51
7.1.320.0040.01115.50
7.1.310.0000.01515.70
7.1.300.0040.00815.50
7.1.290.0100.00315.64
7.1.280.0060.00315.50
7.1.270.0030.01215.43
7.1.260.0070.00715.73
7.1.200.0060.00615.61
7.1.100.0040.00718.06
7.1.70.0000.00817.00
7.1.60.0070.00719.32
7.1.50.0070.01116.82
7.1.00.0100.09022.57
7.0.200.0000.01016.39
7.0.140.0130.06321.95
7.0.60.0100.07019.81
7.0.50.0070.08017.90
7.0.40.0070.09019.98
7.0.30.0270.08320.30
7.0.20.0200.04720.15
7.0.10.0170.06320.30
7.0.00.0070.08720.32
5.6.280.0000.07320.89
5.6.210.0070.03720.67
5.6.200.0070.03718.17
5.6.190.0070.05020.61
5.6.180.3530.04320.32
5.6.170.0230.03320.40
5.6.160.0030.08020.37
5.6.150.0030.04018.18
5.6.140.0030.06318.09
5.6.130.0170.07018.21
5.6.120.0130.05020.98
5.6.110.0030.08321.00
5.6.100.0170.07021.13
5.6.90.0070.05321.05
5.6.80.0030.04720.38
5.6.70.3030.03320.49
5.5.350.0230.07720.28
5.5.340.0030.04017.91
5.5.330.0070.05020.46
5.5.320.3970.04320.20
5.5.310.0170.04020.28
5.5.300.0100.07717.91
5.5.290.0000.04318.01
5.5.280.0070.04020.87
5.5.270.0030.05720.95
5.5.260.0230.07320.79
5.5.250.0000.04720.52
5.5.240.0130.05320.14
5.4.450.1000.04019.45
5.4.440.0800.05719.45
5.4.430.0800.05319.24
5.4.420.0070.06319.44
5.4.410.0630.05019.36
5.4.400.0230.05319.00
5.4.390.0770.06019.13
5.4.380.0800.05718.95
5.4.370.0700.05719.23
5.4.360.0770.04719.09
5.4.350.0800.05319.15
5.4.340.0070.03311.96
5.4.320.0040.03812.45
5.4.310.0060.03712.45
5.4.300.0090.03412.45
5.4.290.0070.03712.45
5.4.280.0030.05612.35
5.4.270.0090.03712.35
5.4.260.0060.03912.34
5.4.250.0070.03712.34
5.4.240.0070.04012.35
5.4.230.0040.04112.34
5.4.220.0060.03512.34
5.4.210.0040.03712.34
5.4.200.0060.03812.34
5.4.190.0100.03212.33
5.4.180.0050.03812.33
5.4.170.0070.04312.34
5.4.160.0060.03512.34
5.4.150.0030.03812.34
5.4.140.0080.03312.02
5.4.130.0050.03512.01
5.4.120.0040.03611.96
5.4.110.0040.03711.96
5.4.100.0070.03411.96
5.4.90.0040.03911.96
5.4.80.0020.04211.96
5.4.70.0020.03811.96
5.4.60.0080.03211.96
5.4.50.0040.03711.96
5.4.40.0060.03511.95
5.4.30.0060.03511.95
5.4.20.0090.04111.95
5.4.10.0070.03511.94
5.4.00.0060.03611.44
5.3.290.0050.04012.80
5.3.280.0060.04412.71
5.3.270.0080.03612.72
5.3.260.0060.03812.72
5.3.250.0060.03712.72
5.3.240.0050.04012.72
5.3.230.0070.04412.71
5.3.220.0110.04012.68
5.3.210.0060.03912.68
5.3.200.0090.03312.68
5.3.190.0050.04612.68
5.3.180.0070.05112.67
5.3.170.0060.03612.67
5.3.160.0040.03812.67
5.3.150.0050.03812.68
5.3.140.0070.03512.66
5.3.130.0090.03612.66
5.3.120.0070.03812.65
5.3.110.0080.03812.66
5.3.100.0060.04312.11
5.3.90.0060.03912.09
5.3.80.0070.03612.07
5.3.70.0030.04012.07
5.3.60.0060.04212.07
5.3.50.0090.03912.00
5.3.40.0060.03712.00
5.3.30.0050.03611.96
5.3.20.0060.03511.72
5.3.10.0050.03711.69
5.3.00.0080.03411.68
5.2.170.0030.0329.18
5.2.160.0020.0329.18
5.2.150.0030.0329.18
5.2.140.0040.0339.18
5.2.130.0030.0369.14
5.2.120.0050.0369.14
5.2.110.0070.0329.14
5.2.100.0100.0379.14
5.2.90.0090.0339.14
5.2.80.0020.0339.14
5.2.70.0050.0409.14
5.2.60.0040.0419.09
5.2.50.0040.0319.06
5.2.40.0020.0349.04
5.2.30.0020.0339.01
5.2.20.0070.0349.00
5.2.10.0080.0298.92
5.2.00.0040.0338.78
5.1.60.0030.0258.07
5.1.50.0040.0358.06
5.1.40.0070.0228.04
5.1.30.0040.0268.39
5.1.20.0040.0278.42
5.1.10.0030.0278.14
5.1.00.0040.0268.14
5.0.50.0030.0216.62
5.0.40.0050.0186.48
5.0.30.0020.0326.29
5.0.20.0030.0206.27
5.0.10.0040.0216.24
5.0.00.0040.0326.23
4.4.90.0010.0174.78
4.4.80.0040.0144.75
4.4.70.0050.0124.75
4.4.60.0030.0154.75
4.4.50.0020.0154.77
4.4.40.0030.0254.71
4.4.30.0030.0154.76
4.4.20.0020.0204.84
4.4.10.0030.0174.85
4.4.00.0020.0254.76
4.3.110.0030.0154.67
4.3.100.0030.0154.67
4.3.90.0060.0114.63
4.3.80.0020.0254.59
4.3.70.0010.0164.63
4.3.60.0030.0144.63
4.3.50.0040.0134.63
4.3.40.0030.0234.54
4.3.30.0020.0153.28
4.3.20.0010.0173.26
4.3.10.0010.0163.22
4.3.00.0170.0277.07

preferences:
42.51 ms | 401 KiB | 5 Q