3v4l.org

run code in 300+ PHP versions simultaneously
<?php $img = @ImageCreate (400, 400); $color = ImageColorAllocate ($img, 233, 0, 0); $blue = imagecolorallocate($img, 0, 0, 255); imagearc($img, '100', '100', '50', '50', '20', '60', $blue); header( "Content-type: image/png" ); imagepng($img); imagedestroy($img); ?>

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.00616.86
8.3.50.0150.00322.79
8.3.40.0100.00718.88
8.3.30.0140.00018.97
8.3.20.0070.00020.16
8.3.10.0080.00023.46
8.3.00.0000.00919.38
8.2.180.0100.00716.75
8.2.170.0080.00822.96
8.2.160.0080.00820.49
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0080.00020.94
8.2.110.0030.00622.37
8.2.100.0040.00718.16
8.2.90.0040.00419.23
8.2.80.0050.00317.97
8.2.70.0050.00317.63
8.2.60.0000.00817.80
8.2.50.0000.01018.07
8.2.40.0040.00418.16
8.2.30.0050.00317.95
8.2.20.0040.00417.67
8.2.10.0030.00518.13
8.2.00.0040.00417.69
8.1.280.0060.00925.92
8.1.270.0080.00022.02
8.1.260.0050.00526.35
8.1.250.0070.00028.09
8.1.240.0030.00622.20
8.1.230.0040.00718.93
8.1.220.0000.00817.79
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0100.00017.22
8.1.180.0000.00818.10
8.1.170.0000.00818.70
8.1.160.0000.00721.92
8.1.150.0020.00518.84
8.1.140.0020.00517.41
8.1.130.0040.00417.78
8.1.120.0000.00817.44
8.1.110.0040.00417.37
8.1.100.0000.00717.34
8.1.90.0040.00417.32
8.1.80.0040.00417.38
8.1.70.0000.00717.32
8.1.60.0040.00417.48
8.1.50.0000.00817.52
8.1.40.0060.00317.45
8.1.30.0030.00517.57
8.1.20.0080.00017.50
8.1.10.0040.00417.41
8.1.00.0070.00017.40
8.0.300.0040.00418.77
8.0.290.0080.00016.88
8.0.280.0030.00318.43
8.0.270.0030.00317.28
8.0.260.0000.00617.34
8.0.250.0030.00317.01
8.0.240.0070.00017.04
8.0.230.0000.00716.89
8.0.220.0070.00016.84
8.0.210.0040.00416.93
8.0.200.0000.00617.06
8.0.190.0000.00817.06
8.0.180.0040.00416.88
8.0.170.0000.00816.89
8.0.160.0000.00717.02
8.0.150.0000.00716.91
8.0.140.0000.00716.88
8.0.130.0060.00013.50
8.0.120.0000.00816.89
8.0.110.0040.00416.94
8.0.100.0000.00716.81
8.0.90.0040.00416.80
8.0.80.0100.00716.90
8.0.70.0040.00416.86
8.0.60.0070.00016.79
8.0.50.0050.00316.88
8.0.30.0070.01117.13
8.0.20.0140.00717.40
8.0.10.0000.00717.04
8.0.00.0060.01216.73
7.4.330.0050.00015.03
7.4.320.0000.00616.56
7.4.300.0060.00016.50
7.4.290.0030.00316.56
7.4.280.0030.00616.47
7.4.270.0000.00716.48
7.4.260.0000.00816.56
7.4.250.0040.00416.53
7.4.240.0020.00516.46
7.4.230.0040.00416.26
7.4.220.0140.00716.64
7.4.210.0110.00816.57
7.4.200.0030.00316.41
7.4.160.0150.00016.36
7.4.150.0150.00317.40
7.4.140.0080.00917.86
7.4.130.0070.01016.46
7.4.120.0080.01216.62
7.4.110.0110.00616.59
7.4.100.0140.00416.57
7.4.90.0030.01416.40
7.4.80.0130.00719.39
7.4.70.0030.01316.60
7.4.60.0060.01116.68
7.4.50.0080.00016.33
7.4.40.0030.01316.55
7.4.30.0100.00716.45
7.4.00.0040.01415.08
7.3.330.0000.00613.07
7.3.320.0000.00513.02
7.3.310.0070.00016.37
7.3.300.0030.00316.18
7.3.290.0030.01116.28
7.3.280.0090.00816.31
7.3.270.0140.00317.40
7.3.260.0080.00916.32
7.3.250.0130.00816.42
7.3.240.0120.00316.32
7.3.230.0030.01216.39
7.3.210.0080.01116.42
7.3.200.0150.00719.39
7.3.190.0110.00616.46
7.3.180.0100.00616.55
7.3.170.0140.00316.48
7.3.160.0030.01316.31
7.3.120.0030.01614.57
7.3.110.0090.00614.64
7.3.100.0070.01015.00
7.3.90.0060.00614.64
7.3.80.0000.01314.95
7.3.70.0000.00914.71
7.3.60.0080.00414.88
7.3.50.0090.00614.66
7.3.40.0030.01014.86
7.3.30.0080.00514.81
7.3.20.0030.00716.38
7.3.10.0060.00916.51
7.3.00.0070.01016.57
7.2.330.0090.01216.25
7.2.320.0170.00016.68
7.2.310.0080.01216.39
7.2.300.0030.01216.68
7.2.290.0030.01316.22
7.2.250.0030.01315.19
7.2.240.0070.01114.88
7.2.230.0100.00614.88
7.2.220.0030.00714.82
7.2.210.0060.00614.87
7.2.200.0040.01114.90
7.2.190.0030.01314.74
7.2.180.0070.01014.90
7.2.170.0060.00315.10
7.2.60.0090.00616.68
7.2.00.0110.01419.37
7.1.330.0070.00715.74
7.1.320.0060.00315.88
7.1.310.0030.01015.84
7.1.300.0040.01115.56
7.1.290.0000.01315.71
7.1.280.0050.00515.79
7.1.270.0070.00715.81
7.1.260.0060.00915.49
7.1.200.0000.01115.79
7.1.100.0080.00017.95
7.1.70.0000.00917.07
7.1.60.0090.01219.46
7.1.50.0030.01316.90
7.1.00.0100.07022.28
7.0.200.0030.00316.66
7.0.140.0030.07021.95
7.0.60.0030.07719.97
7.0.50.0100.08317.90
7.0.40.0130.04020.12
7.0.30.0230.07720.21
7.0.20.0130.04720.09
7.0.10.0070.09020.16
7.0.00.0170.06320.20
5.6.280.0000.07721.14
5.6.210.0100.08320.51
5.6.200.0070.08018.23
5.6.190.0170.07720.61
5.6.180.0200.05720.32
5.6.170.0270.08020.71
5.6.160.0170.07720.49
5.6.150.0070.04018.09
5.6.140.0070.04318.09
5.6.130.0130.05318.18
5.6.120.0100.06021.01
5.6.110.0000.04721.02
5.6.100.0070.08320.99
5.6.90.0130.05321.09
5.6.80.0130.06320.38
5.5.350.0000.08320.32
5.5.340.0070.08318.02
5.5.330.0030.04320.26
5.5.320.0100.07720.41
5.5.310.0170.05020.20
5.5.300.0070.06317.88
5.5.290.0070.08017.92
5.5.280.0130.03720.80
5.5.270.0100.03320.86
5.5.260.0070.07720.79
5.5.250.0070.04320.79
5.5.240.0270.07320.16
5.4.450.0300.04719.21
5.4.440.0100.05719.21
5.4.430.0130.05019.41
5.4.420.0400.04319.25
5.4.410.0430.02719.41
5.4.400.0070.04719.13
5.4.390.0170.04319.08
5.4.380.0400.06018.70
5.4.370.0330.05318.71
5.4.360.0370.04318.66
5.4.350.0270.06318.61
5.4.340.0330.06018.63
5.4.320.0030.03812.46
5.4.310.0050.04212.45
5.4.300.0080.03712.46
5.4.290.0060.04012.45
5.4.280.0070.03112.35
5.4.270.0100.03812.35
5.4.260.0100.03812.35
5.4.250.0030.05012.35
5.4.240.0050.04312.35
5.4.230.0040.03812.34
5.4.220.0070.03412.34
5.4.210.0050.03612.34
5.4.200.0070.03612.34
5.4.190.0080.03912.34
5.4.180.0040.03712.34
5.4.170.0080.03912.35
5.4.160.0030.03912.34
5.4.150.0030.03712.34
5.4.140.0050.03712.03
5.4.130.0060.03412.01
5.4.120.0030.03711.97
5.4.110.0040.03711.97
5.4.100.0060.03911.97
5.4.90.0040.03711.96
5.4.80.0090.03311.96
5.4.70.0070.04111.96
5.4.60.0040.04511.96
5.4.50.0090.03411.96
5.4.40.0090.03511.95
5.4.30.0040.03611.95
5.4.20.0030.03711.95
5.4.10.0040.03511.95
5.4.00.0080.04011.45
5.3.290.0060.03712.80
5.3.280.0040.03812.71
5.3.270.0090.03612.72
5.3.260.0090.03712.72
5.3.250.0050.03712.72
5.3.240.0050.03912.72
5.3.230.0050.03812.70
5.3.220.0040.03812.68
5.3.210.0020.04312.68
5.3.200.0090.03312.68
5.3.190.0090.03412.68
5.3.180.0070.03612.67
5.3.170.0070.03512.67
5.3.160.0090.03512.67
5.3.150.0040.03812.67
5.3.140.0130.03112.66
5.3.130.0050.04512.66
5.3.120.0050.04212.66
5.3.110.0080.04212.66
5.3.100.0050.03812.11
5.3.90.0020.03912.08
5.3.80.0050.03612.07
5.3.70.0050.03712.08
5.3.60.0050.03612.07
5.3.50.0070.03712.00
5.3.40.0090.03212.00
5.3.30.0060.03411.95
5.3.20.0070.03711.72
5.3.10.0050.03411.69
5.3.00.0060.03411.69
5.2.170.0050.0299.18
5.2.160.0060.0269.18
5.2.150.0070.0339.18
5.2.140.0070.0409.18
5.2.130.0040.0299.14
5.2.120.0030.0299.13
5.2.110.0020.0319.14
5.2.100.0040.0289.14
5.2.90.0070.0269.14
5.2.80.0030.0319.14
5.2.70.0020.0329.14
5.2.60.0050.0299.09
5.2.50.0040.0309.06
5.2.40.0060.0289.04
5.2.30.0040.0309.01
5.2.20.0050.0279.00
5.2.10.0040.0288.92
5.2.00.0080.0298.78
5.1.60.0060.0268.07
5.1.50.0020.0268.06
5.1.40.0030.0258.05
5.1.30.0030.0268.39
5.1.20.0060.0248.42
5.1.10.0020.0278.14
5.1.00.0030.0268.14
5.0.50.0040.0206.62
5.0.40.0040.0196.48
5.0.30.0040.0306.29
5.0.20.0020.0206.26
5.0.10.0040.0206.23
5.0.00.0030.0336.23
4.4.90.0020.0164.78
4.4.80.0050.0124.75
4.4.70.0040.0134.76
4.4.60.0030.0204.76
4.4.50.0030.0144.77
4.4.40.0030.0244.71
4.4.30.0010.0164.76
4.4.20.0040.0134.85
4.4.10.0040.0144.85
4.4.00.0030.0234.76
4.3.110.0010.0184.67
4.3.100.0020.0204.67
4.3.90.0020.0184.64
4.3.80.0020.0284.58
4.3.70.0030.0164.63
4.3.60.0030.0154.63
4.3.50.0020.0154.63
4.3.40.0030.0254.54
4.3.30.0020.0163.29
4.3.20.0020.0183.26
4.3.10.0000.0173.22
4.3.00.0030.01314.87

preferences:
42.54 ms | 401 KiB | 5 Q