3v4l.org

run code in 300+ PHP versions simultaneously
<?php $im = new Imagick; $im->readimage($dir . 'afbeelding.jpg'); $im->setImageType(Imagick::IMGTYPE_GRAYSCALE);

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.0110.00416.63
8.3.50.0130.00721.93
8.3.40.0000.01418.84
8.3.30.0090.00619.00
8.3.20.0000.00720.28
8.3.10.0040.00421.83
8.3.00.0040.00417.89
8.2.180.0070.01416.50
8.2.170.0000.01522.96
8.2.160.0100.00320.18
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.90
8.2.110.0060.00322.25
8.2.100.0130.00019.48
8.2.90.0040.00419.05
8.2.80.0040.00717.97
8.2.70.0000.00817.63
8.2.60.0040.00417.91
8.2.50.0030.00518.07
8.2.40.0050.00318.16
8.2.30.0000.00818.05
8.2.20.0000.00817.57
8.2.10.0040.00417.85
8.2.00.0030.00617.71
8.1.280.0110.00425.92
8.1.270.0030.00623.98
8.1.260.0000.00726.35
8.1.250.0140.00028.09
8.1.240.0030.00623.87
8.1.230.0030.00718.97
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0000.00818.22
8.1.160.0000.00821.94
8.1.150.0040.00418.74
8.1.140.0040.00417.33
8.1.130.0000.00717.67
8.1.120.0030.00517.35
8.1.110.0040.00417.34
8.1.100.0040.00417.22
8.1.90.0000.00717.35
8.1.80.0030.00317.24
8.1.70.0000.00717.20
8.1.60.0060.00317.46
8.1.50.0050.00317.48
8.1.40.0040.00417.45
8.1.30.0030.00617.44
8.1.20.0030.00617.41
8.1.10.0000.00817.48
8.1.00.0080.00017.33
8.0.300.0060.00318.77
8.0.290.0040.00416.88
8.0.280.0030.00318.39
8.0.270.0000.00717.19
8.0.260.0000.00717.19
8.0.250.0000.00716.95
8.0.240.0070.00016.99
8.0.230.0030.00316.95
8.0.220.0000.00716.85
8.0.210.0000.00716.85
8.0.200.0030.00316.86
8.0.190.0000.00716.93
8.0.180.0050.00316.81
8.0.170.0080.00016.79
8.0.160.0030.00516.98
8.0.150.0040.00416.81
8.0.140.0020.00516.81
8.0.130.0060.00013.24
8.0.120.0000.00716.75
8.0.110.0000.00716.86
8.0.100.0070.00016.79
8.0.90.0040.00416.79
8.0.80.0070.01116.87
8.0.70.0040.00416.83
8.0.60.0000.00716.74
8.0.50.0040.00416.66
8.0.30.0100.01317.04
8.0.20.0110.00817.40
8.0.10.0090.00016.97
8.0.00.0080.00816.71
7.4.330.0050.00015.00
7.4.320.0000.00716.37
7.4.300.0000.00716.36
7.4.290.0050.00316.54
7.4.280.0040.00416.55
7.4.270.0030.00316.42
7.4.260.0000.00716.51
7.4.250.0020.00516.50
7.4.240.0050.00216.41
7.4.230.0030.00316.31
7.4.220.0070.01216.62
7.4.210.0090.00616.63
7.4.200.0000.00816.51
7.4.160.0080.00816.56
7.4.150.0100.00717.40
7.4.140.0100.00717.86
7.4.130.0060.01116.51
7.4.120.0080.01216.42
7.4.110.0130.00316.41
7.4.100.0170.00716.64
7.4.90.0110.00716.55
7.4.80.0110.00719.39
7.4.70.0070.01016.41
7.4.60.0170.00316.36
7.4.50.0040.00416.29
7.4.40.0110.01116.45
7.4.30.0090.00616.34
7.4.00.0030.01314.61
7.3.330.0000.00513.05
7.3.320.0000.00613.09
7.3.310.0000.00716.31
7.3.300.0000.00616.16
7.3.290.0000.01516.20
7.3.280.0070.01016.23
7.3.270.0060.01317.40
7.3.260.0070.01016.34
7.3.250.0150.00516.21
7.3.240.0100.01316.14
7.3.230.0110.00516.49
7.3.210.0140.00616.46
7.3.200.0020.01719.39
7.3.190.0130.00716.38
7.3.180.0070.01016.55
7.3.170.0060.01616.32
7.3.160.0000.01616.42
7.3.120.0040.01114.93
7.2.330.0140.00816.30
7.2.320.0110.01116.22
7.2.310.0110.00616.62
7.2.300.0090.00616.38
7.2.290.0060.01116.38
7.2.60.0080.00416.87
7.2.00.0230.00718.96
7.1.200.0000.01415.60
7.1.100.0030.01017.93
7.1.70.0040.00416.99
7.1.60.0070.01419.14
7.1.50.0080.00416.81
7.1.00.0100.07022.31
7.0.200.0070.00316.48
7.0.140.0100.06722.08
7.0.60.0170.07319.95
7.0.50.0100.07017.84
7.0.40.0030.04319.97
7.0.30.0530.07320.02
7.0.20.0230.04020.04
7.0.10.0230.07020.20
7.0.00.0100.08020.09
5.6.280.0070.07020.86
5.6.210.0070.06720.66
5.6.200.0070.03718.21
5.6.190.0100.08020.39
5.6.180.0270.08720.50
5.6.170.0270.08020.52
5.6.160.0000.07720.51
5.6.150.0070.03718.11
5.6.140.0030.09018.05
5.6.130.0030.04718.14
5.6.120.0030.07721.00
5.6.110.0100.07721.11
5.6.100.0100.07320.97
5.6.90.0070.05321.09
5.6.80.0030.04720.50
5.6.70.3300.04720.36
5.5.350.0100.05720.42
5.5.340.0030.07017.89
5.5.330.0070.08720.40
5.5.320.0330.05320.30
5.5.310.0170.04720.28
5.5.300.0000.07317.94
5.5.290.0130.04717.96
5.5.280.0070.04720.87
5.5.270.0100.05320.79
5.5.260.0130.06020.86
5.5.250.0000.04720.54
5.5.240.0200.05020.04
5.4.450.0530.04319.57
5.4.440.0500.04719.45
5.4.430.0700.04019.40
5.4.420.0270.06019.54
5.4.410.0100.07019.26
5.4.400.0870.03719.16
5.4.390.0470.04319.09
5.4.380.0230.06718.56
5.4.370.0270.06318.50
5.4.360.0200.04718.62
5.4.350.0130.05718.57
5.4.340.0200.05718.61
5.4.320.0060.03612.46
5.4.310.0090.04612.45
5.4.300.0060.04412.45
5.4.290.0070.05612.45
5.4.280.0080.04412.35
5.4.270.0060.03612.35
5.4.260.0110.03712.35
5.4.250.0060.04012.35
5.4.240.0070.03812.35
5.4.230.0060.04412.34
5.4.220.0040.04012.34
5.4.210.0040.03912.34
5.4.200.0030.04212.34
5.4.190.0060.03912.34
5.4.180.0040.04012.34
5.4.170.0080.03612.35
5.4.160.0080.03512.35
5.4.150.0070.03812.34
5.4.140.0090.03912.02
5.4.130.0060.03812.01
5.4.120.0080.03711.97
5.4.110.0110.04211.97
5.4.100.0120.03311.96
5.4.90.0100.03811.97
5.4.80.0080.04511.97
5.4.70.0080.04011.96
5.4.60.0080.04011.96
5.4.50.0070.04611.96
5.4.40.0030.04811.95
5.4.30.0100.04811.95
5.4.20.0080.04111.95
5.4.10.0060.03811.95
5.4.00.0080.05911.44
5.3.290.0050.05512.80
5.3.280.0180.07512.71
5.3.270.0120.04912.73
5.3.260.0120.09912.72
5.3.250.0200.09312.72
5.3.240.0160.06912.72
5.3.230.0090.05312.71
5.3.220.0110.04812.68
5.3.210.0170.09012.68
5.3.200.0160.07712.68
5.3.190.0070.04912.68
5.3.180.0070.05112.67
5.3.170.0080.05012.67
5.3.160.0070.05012.67
5.3.150.0090.05212.68
5.3.140.0080.05412.66
5.3.130.0160.05112.66
5.3.120.0110.06612.66
5.3.110.0090.06112.66
5.3.100.0150.04812.12
5.3.90.0090.05612.09
5.3.80.0070.05112.07
5.3.70.0070.05012.08
5.3.60.0170.07512.07
5.3.50.0080.05712.00
5.3.40.0080.05212.00
5.3.30.0040.05011.94
5.3.20.0120.04211.73
5.3.10.0060.04811.70
5.3.00.0090.04711.68
5.2.170.0050.0419.18
5.2.160.0060.0389.18
5.2.150.0060.0419.18
5.2.140.0020.0469.18
5.2.130.0110.0359.14
5.2.120.0040.0399.14
5.2.110.0060.0389.15
5.2.100.0050.0409.14
5.2.90.0060.0399.14
5.2.80.0030.0439.13
5.2.70.0050.0429.14
5.2.60.0070.0399.09
5.2.50.0080.0389.06
5.2.40.0050.0389.04
5.2.30.0090.0389.01
5.2.20.0040.0399.00
5.2.10.0070.0358.92
5.2.00.0040.0418.78
5.1.60.0040.0328.06
5.1.50.0060.0318.06
5.1.40.0060.0328.04
5.1.30.0070.0348.39
5.1.20.0050.0368.41
5.1.10.0080.0298.14
5.1.00.0070.0338.14
5.0.50.0050.0266.62
5.0.40.0030.0276.48
5.0.30.0050.0396.29
5.0.20.0010.0286.26
5.0.10.0030.0206.24
5.0.00.0030.0296.23
4.4.90.0020.0164.78
4.4.80.0030.0154.75
4.4.70.0020.0174.76
4.4.60.0030.0194.75
4.4.50.0030.0204.77
4.4.40.0010.0284.71
4.4.30.0030.0164.76
4.4.20.0030.0164.84
4.4.10.0030.0174.85
4.4.00.0010.0324.75
4.3.110.0030.0194.66
4.3.100.0040.0154.66
4.3.90.0030.0154.63
4.3.80.0040.0264.58
4.3.70.0040.0194.63
4.3.60.0030.0214.63
4.3.50.0060.0194.63
4.3.40.0050.0294.53
4.3.30.0040.0183.29
4.3.20.0050.0183.27
4.3.10.0060.0173.22
4.3.00.0070.01712.97

preferences:
62.43 ms | 400 KiB | 5 Q