3v4l.org

run code in 300+ PHP versions simultaneously
<?php $image = imagecreatetruecolor(225,225); imagestring($image, 10, 20, 16, 'Roseindia', 0x00ff00); $gaussian = array(array(1.0, 2.0, 1.0), array(2.0, 4.0, 2.0), array(1.0, 2.0, 1.0)); imageconvolution($image, $gaussian, 16, 0); imagestring($image, 10, 20, 36, 'Roseindia', 0x00ff00); header('Content-Type: image/png'); imagepng($image, null, 9); ?>

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.0120.00316.50
8.3.50.0100.00822.12
8.3.40.0070.01118.96
8.3.30.0110.00419.04
8.3.20.0040.00420.36
8.3.10.0080.00023.48
8.3.00.0080.00019.38
8.2.180.0140.00718.29
8.2.170.0040.01122.96
8.2.160.0070.00720.47
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0000.00722.11
8.2.110.0100.00722.12
8.2.100.0040.00717.72
8.2.90.0030.00619.05
8.2.80.0080.00017.97
8.2.70.0090.00017.50
8.2.60.0080.00017.80
8.2.50.0080.00018.07
8.2.40.0080.00019.80
8.2.30.0040.00418.06
8.2.20.0000.00717.64
8.2.10.0000.00817.92
8.2.00.0000.00817.63
8.1.280.0070.01325.92
8.1.270.0040.00423.92
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00623.91
8.1.230.0040.00819.16
8.1.220.0090.00017.74
8.1.210.0000.00918.77
8.1.200.0030.00617.23
8.1.190.0040.00417.38
8.1.180.0000.00918.88
8.1.170.0050.00318.51
8.1.160.0040.00422.03
8.1.150.0040.00418.54
8.1.140.0040.00417.31
8.1.130.0080.00017.72
8.1.120.0070.00017.34
8.1.110.0060.00317.25
8.1.100.0030.00617.28
8.1.90.0080.00017.29
8.1.80.0040.00417.39
8.1.70.0080.00017.27
8.1.60.0040.00417.38
8.1.50.0000.00817.48
8.1.40.0090.00017.38
8.1.30.0050.00317.54
8.1.20.0050.00217.54
8.1.10.0000.00717.57
8.1.00.0060.00317.48
8.0.300.0030.00519.21
8.0.290.0060.00317.15
8.0.280.0030.00318.36
8.0.270.0030.00317.27
8.0.260.0000.00617.13
8.0.250.0000.00716.90
8.0.240.0060.00317.02
8.0.230.0050.00317.04
8.0.220.0050.00216.92
8.0.210.0030.00316.86
8.0.200.0030.00316.94
8.0.190.0050.00316.82
8.0.180.0070.00016.89
8.0.170.0050.00316.93
8.0.160.0050.00216.88
8.0.150.0030.00316.76
8.0.140.0000.00716.86
8.0.130.0030.00313.32
8.0.120.0020.00516.87
8.0.110.0040.00416.84
8.0.100.0070.00016.74
8.0.90.0040.00416.91
8.0.80.0030.01316.94
8.0.70.0000.00716.92
8.0.60.0070.00016.80
8.0.50.0000.00716.81
8.0.30.0100.00816.94
8.0.20.0120.00617.40
8.0.10.0070.00016.83
8.0.00.0110.00916.66
7.4.330.0050.00015.00
7.4.320.0030.00316.42
7.4.300.0000.00616.54
7.4.290.0060.00316.57
7.4.280.0000.00816.49
7.4.270.0030.00316.61
7.4.260.0000.00716.53
7.4.250.0000.00816.53
7.4.240.0040.00416.50
7.4.230.0000.00716.34
7.4.220.0100.01316.59
7.4.210.0050.00916.61
7.4.200.0040.00316.64
7.4.190.0000.00716.61
7.4.160.0040.01516.57
7.4.150.0080.00917.40
7.4.140.0100.00717.86
7.4.130.0100.00816.49
7.4.120.0110.01016.43
7.4.110.0100.01016.50
7.4.100.0150.00916.64
7.4.90.0070.01016.38
7.4.80.0140.00319.39
7.4.70.0070.01516.48
7.4.60.0080.00816.55
7.4.50.0040.00416.34
7.4.40.0040.00822.77
7.4.30.0000.02016.48
7.4.00.0060.00614.89
7.3.330.0030.00313.22
7.3.320.0000.00613.12
7.3.310.0040.00416.21
7.3.300.0040.00416.32
7.3.290.0100.00316.30
7.3.280.0090.01016.28
7.3.270.0150.00417.40
7.3.260.0120.01216.53
7.3.250.0120.00916.43
7.3.240.0060.01116.23
7.3.230.0070.01016.42
7.3.210.0100.00716.23
7.3.200.0120.00619.39
7.3.190.0140.00716.26
7.3.180.0140.00316.41
7.3.170.0080.00816.43
7.3.160.0110.00516.21
7.3.120.0070.00714.70
7.2.330.0090.00916.29
7.2.320.0150.00316.55
7.2.310.0060.01016.38
7.2.300.0110.00816.26
7.2.290.0030.01416.52
7.2.60.0070.00716.72
7.2.00.0030.00719.19
7.1.200.0030.01015.68
7.1.100.0060.01017.71
7.1.70.0000.01017.10
7.1.60.0070.01719.46
7.1.50.0000.01616.62
7.1.00.0000.08022.43
7.0.200.0150.00614.66
7.0.140.0000.09022.01
7.0.60.0000.05719.91
7.0.50.0100.07717.84
7.0.40.0130.04720.16
7.0.30.0200.04020.13
7.0.20.0170.04720.21
7.0.10.0130.05020.02
7.0.00.0230.07020.17
5.6.280.0030.07321.09
5.6.210.0100.05720.61
5.6.200.0030.04018.15
5.6.190.0000.09020.41
5.6.180.0230.06020.45
5.6.170.0200.03720.39
5.6.160.0130.05020.46
5.6.150.0100.05718.12
5.6.140.0130.07318.16
5.6.130.0030.04018.21
5.6.120.0000.04321.11
5.6.110.0070.05320.96
5.6.100.0170.07321.03
5.6.90.0170.04021.02
5.6.80.0130.07020.52
5.5.350.0000.03720.48
5.5.340.0070.09018.00
5.5.330.0100.07720.25
5.5.320.0330.07020.29
5.5.310.0200.04720.34
5.5.300.0070.08017.92
5.5.290.0000.05718.01
5.5.280.0070.08320.77
5.5.270.0030.04020.85
5.5.260.0070.08720.79
5.5.250.0100.07020.57
5.5.240.3030.03020.28
5.4.450.0300.06319.58
5.4.440.0830.05019.63
5.4.430.0070.06019.48
5.4.420.0030.07319.52
5.4.410.0100.05319.38
5.4.400.0130.04719.21
5.4.390.0230.04018.92
5.4.380.0200.05318.47
5.4.370.0170.05018.66
5.4.360.0170.03318.66
5.4.350.0040.03711.98
5.4.340.0080.03611.97
5.4.320.0080.03512.46
5.4.310.0030.04212.45
5.4.300.0070.03612.46
5.4.290.0050.03912.44
5.4.280.0070.03412.33
5.4.270.0080.03412.33
5.4.260.0080.04312.33
5.4.250.0060.04712.34
5.4.240.0070.04312.34
5.4.230.0090.04512.32
5.4.220.0060.04612.32
5.4.210.0120.04512.33
5.4.200.0100.04312.33
5.4.190.0090.05212.32
5.4.180.0110.05012.32
5.4.170.0120.04812.34
5.4.160.0080.03512.33
5.4.150.0070.04712.32
5.4.140.0090.04712.01
5.4.130.0100.04312.00
5.4.120.0070.04811.96
5.4.110.0130.04311.95
5.4.100.0100.04511.96
5.4.90.0100.04811.95
5.4.80.0060.05311.95
5.4.70.0110.05711.95
5.4.60.0060.04911.95
5.4.50.0080.06011.95
5.4.40.0050.04911.93
5.4.30.0090.04211.94
5.4.20.0130.06011.93
5.4.10.0070.04911.93
5.4.00.0070.05111.43
5.3.290.0140.04112.80
5.3.280.0060.04112.71
5.3.270.0110.04412.73
5.3.260.0070.05112.72
5.3.250.0080.05112.72
5.3.240.0060.05212.71
5.3.230.0050.05212.71
5.3.220.0100.05312.68
5.3.210.0070.05812.68
5.3.200.0070.05512.68
5.3.190.0050.05412.68
5.3.180.0090.05212.67
5.3.170.0090.04312.67
5.3.160.0090.04012.68
5.3.150.0050.03712.67
5.3.140.0080.04112.66
5.3.130.0070.04512.66
5.3.120.0080.03912.66
5.3.110.0100.04812.66
5.3.100.0090.05712.12
5.3.90.0090.06012.09
5.3.80.0070.05412.07
5.3.70.0110.05412.08
5.3.60.0110.05112.07
5.3.50.0070.04112.00
5.3.40.0050.05212.00
5.3.30.0110.04611.95
5.3.20.0120.05111.72
5.3.10.0090.05011.69
5.3.00.0080.04111.68
5.2.170.0070.0309.18
5.2.160.0050.0469.18
5.2.150.0060.0439.18
5.2.140.0050.0319.18
5.2.130.0060.0299.14
5.2.120.0080.0289.14
5.2.110.0050.0329.14
5.2.100.0070.0289.14
5.2.90.0060.0299.14
5.2.80.0050.0309.14
5.2.70.0030.0349.14
5.2.60.0040.0339.09
5.2.50.0060.0309.06
5.2.40.0060.0309.04
5.2.30.0060.0329.01
5.2.20.0080.0289.00
5.2.10.0050.0318.92
5.2.00.0030.0358.78
5.1.60.0040.0298.06
5.1.50.0040.0288.06
5.1.40.0090.0328.04
5.1.30.0060.0268.40
5.1.20.0060.0268.42
5.1.10.0080.0328.14
5.1.00.0050.0388.14
5.0.50.0050.0216.62
5.0.40.0040.0266.48
5.0.30.0090.0366.29
5.0.20.0030.0256.29
5.0.10.0050.0276.26
5.0.00.0060.0386.26
4.4.90.0050.0204.78
4.4.80.0060.0174.76
4.4.70.0020.0174.75
4.4.60.0010.0244.75
4.4.50.0010.0254.77
4.4.40.0030.0344.71
4.4.30.0050.0224.76
4.4.20.0030.0234.84
4.4.10.0040.0224.85
4.4.00.0040.0334.76
4.3.110.0020.0244.67
4.3.100.0040.0194.66
4.3.90.0040.0144.64
4.3.80.0040.0324.59
4.3.70.0070.0264.63
4.3.60.0020.0234.62
4.3.50.0040.0214.63
4.3.40.0020.0344.53
4.3.30.0030.0273.31
4.3.20.0020.0173.28
4.3.10.0030.0193.24
4.3.00.0070.0238.66

preferences:
35.85 ms | 400 KiB | 5 Q