3v4l.org

run code in 300+ PHP versions simultaneously
<?php $im = imagecreatefrompng("test.png"); header('Content-Type: image/png'); imagepng($im, ''); imagedestroy($im);

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.00916.50
8.3.50.0080.01121.94
8.3.40.0130.00618.79
8.3.30.0130.00718.82
8.3.20.0080.00620.29
8.3.10.0030.00523.64
8.3.00.0040.00420.95
8.2.180.0150.00316.75
8.2.170.0100.00322.96
8.2.160.0030.01020.38
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00919.23
8.2.110.0040.00422.11
8.2.100.0060.00917.89
8.2.90.0000.00919.13
8.2.80.0060.00317.97
8.2.70.0060.00317.50
8.2.60.0030.00617.90
8.2.50.0060.00318.10
8.2.40.0050.00220.59
8.2.30.0040.00418.16
8.2.20.0040.00417.68
8.2.10.0050.00217.91
8.2.00.0000.00819.34
8.1.280.0080.00825.92
8.1.270.0000.00923.79
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0000.00920.57
8.1.230.0080.00317.70
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0030.00717.22
8.1.190.0000.00817.41
8.1.180.0040.00418.10
8.1.170.0040.00418.51
8.1.160.0040.00422.05
8.1.150.0000.00718.41
8.1.140.0040.00417.29
8.1.130.0070.00017.77
8.1.120.0000.00717.36
8.1.110.0000.00817.24
8.1.100.0040.00417.37
8.1.90.0070.00017.36
8.1.80.0030.00517.21
8.1.70.0030.00317.19
8.1.60.0050.00217.36
8.1.50.0000.00717.48
8.1.40.0000.00717.46
8.1.30.0040.00417.57
8.1.20.0000.00717.52
8.1.10.0040.00417.57
8.1.00.0040.00417.42
8.0.300.0000.00718.77
8.0.290.0050.00316.75
8.0.280.0030.00318.40
8.0.270.0000.00717.26
8.0.260.0000.00817.14
8.0.250.0000.00716.94
8.0.240.0040.00416.97
8.0.230.0000.00816.93
8.0.220.0000.00716.88
8.0.210.0060.00016.96
8.0.200.0030.00317.02
8.0.190.0030.00617.00
8.0.180.0040.00416.91
8.0.170.0000.00716.90
8.0.160.0080.00016.77
8.0.150.0000.00716.81
8.0.140.0000.00716.83
8.0.130.0050.00013.31
8.0.120.0000.00716.86
8.0.110.0000.00716.91
8.0.100.0000.00716.87
8.0.90.0050.00316.89
8.0.80.0030.01216.87
8.0.70.0000.00916.91
8.0.60.0000.00716.78
8.0.50.0070.00016.88
8.0.30.0090.00916.84
8.0.20.0110.00817.40
8.0.10.0040.00416.80
8.0.00.0100.00716.71
7.4.330.0000.00515.00
7.4.320.0030.00316.30
7.4.300.0040.00416.45
7.4.290.0060.00016.46
7.4.280.0050.00316.53
7.4.270.0020.00516.56
7.4.260.0080.00016.30
7.4.250.0040.00416.49
7.4.240.0050.00216.44
7.4.230.0030.00316.57
7.4.220.0070.01016.58
7.4.210.0000.01516.50
7.4.200.0000.00716.64
7.4.160.0030.01316.70
7.4.150.0060.01117.40
7.4.140.0110.00617.86
7.4.130.0150.00516.48
7.4.120.0100.00616.51
7.4.110.0030.01316.40
7.4.100.0130.01016.36
7.4.90.0050.01116.60
7.4.80.0080.01219.39
7.4.70.0100.00616.55
7.4.60.0070.01116.54
7.4.50.0000.00516.30
7.4.40.0030.01316.39
7.4.30.0090.00616.52
7.4.00.0060.00615.16
7.3.330.0000.00712.95
7.3.320.0000.00513.13
7.3.310.0030.00316.42
7.3.300.0040.00416.30
7.3.290.0090.00916.31
7.3.280.0110.00816.22
7.3.270.0120.00617.40
7.3.260.0140.00416.60
7.3.250.0110.01016.39
7.3.240.0170.00016.25
7.3.230.0120.00416.40
7.3.210.0080.01216.58
7.3.200.0150.00916.53
7.3.190.0110.01116.47
7.3.180.0040.01116.32
7.3.170.0090.00916.32
7.3.160.0070.00916.25
7.3.120.0060.00914.74
7.3.00.0040.01116.65
7.2.330.0060.01216.48
7.2.320.0100.00716.52
7.2.310.0120.00416.66
7.2.300.0060.01016.32
7.2.290.0120.00816.60
7.2.130.0080.00416.79
7.2.120.0130.00716.84
7.2.110.0060.00616.57
7.2.100.0060.00916.59
7.2.90.0110.00316.70
7.2.80.0080.00816.67
7.2.70.0000.00916.75
7.2.60.0060.00916.79
7.2.50.0080.00316.74
7.2.40.0000.00916.65
7.2.30.0030.00716.67
7.2.20.0080.00816.54
7.2.10.0100.00716.49
7.2.00.0070.00717.95
7.1.250.0120.00415.70
7.1.240.0070.01015.58
7.1.230.0080.00415.63
7.1.220.0070.00715.63
7.1.210.0090.00615.52
7.1.200.0090.00715.39
7.1.190.0090.00615.49
7.1.180.0080.00015.30
7.1.170.0030.00915.37
7.1.160.0070.00715.48
7.1.150.0120.00315.71
7.1.140.0070.00315.55
7.1.130.0090.00915.48
7.1.120.0060.00315.49
7.1.110.0030.00815.66
7.1.100.0030.00916.85
7.1.90.0000.01415.53
7.1.80.0000.01315.47
7.1.70.0030.01016.23
7.1.60.0060.01017.55
7.1.50.0070.00916.02
7.1.40.0000.00915.44
7.1.30.0000.01415.41
7.1.20.0070.00715.67
7.1.10.0070.00715.36
7.1.00.0070.04319.10
7.0.330.0000.01315.38
7.0.320.0000.01415.04
7.0.310.0040.01115.20
7.0.300.0090.00614.99
7.0.290.0060.00615.12
7.0.280.0190.00015.03
7.0.270.0030.00714.82
7.0.260.0030.01015.23
7.0.250.0090.00915.22
7.0.240.0000.00715.18
7.0.230.0050.00315.04
7.0.220.0000.00915.25
7.0.210.0040.01114.92
7.0.200.0020.00715.86
7.0.190.0030.00614.93
7.0.180.0090.00015.05
7.0.170.0030.00915.32
7.0.160.0130.00314.97
7.0.150.0100.00314.92
7.0.140.0020.03918.56
7.0.130.0060.00615.04
7.0.120.0030.01014.83
7.0.110.0070.00714.89
7.0.100.0090.00615.03
7.0.90.0040.01115.24
7.0.80.0090.00615.01
7.0.70.0060.00615.10
7.0.60.0060.03117.51
7.0.50.0050.02916.50
7.0.40.0020.04816.77
7.0.30.0300.03516.68
7.0.20.0120.02316.71
7.0.10.0200.04016.71
7.0.00.0070.04516.68
5.6.380.0040.01113.88
5.6.370.0070.00713.79
5.6.360.0000.01213.94
5.6.350.0030.01013.96
5.6.340.0000.01314.07
5.6.330.0000.01413.82
5.6.320.0030.00713.86
5.6.310.0130.00013.91
5.6.300.0030.00813.78
5.6.290.0030.01413.92
5.6.280.0080.03717.35
5.6.270.0100.00613.96
5.6.260.0030.00513.86
5.6.250.0060.00313.77
5.6.240.0070.00713.76
5.6.230.0000.01013.73
5.6.220.0030.01014.01
5.6.210.0080.03817.29
5.6.200.0050.02215.91
5.6.190.0060.02817.20
5.6.180.0220.03717.11
5.6.170.0070.02517.27
5.6.160.0050.04017.26
5.6.150.0050.03316.09
5.6.140.0040.02216.15
5.6.130.0020.02615.99
5.6.120.0000.02717.33
5.6.110.0050.02217.35
5.6.100.0020.03817.43
5.6.90.0070.04417.51
5.6.80.0060.02517.17
5.6.70.0150.02617.13
5.6.60.0030.01013.98
5.6.50.0040.00714.01
5.6.40.0000.01313.58
5.6.30.0060.00313.57
5.6.20.0070.00714.11
5.6.10.0100.00313.57
5.6.00.0090.00913.80
5.5.380.0100.00010.56
5.5.370.0030.00910.70
5.5.360.0000.00810.52
5.5.350.0110.04315.46
5.5.340.0050.03514.36
5.5.330.0030.02315.39
5.5.320.0050.02715.46
5.5.310.0210.02515.44
5.5.300.0020.03314.32
5.5.290.0050.04214.22
5.5.280.0050.02715.56
5.5.270.0020.02815.82
5.5.260.0140.03415.64
5.5.250.0030.02615.62
5.5.240.0070.03215.33
5.5.230.0000.00810.61
5.5.220.0040.00410.59
5.5.210.0030.00910.63
5.5.200.0070.00310.49
5.5.190.0070.00310.54
5.5.180.0090.00010.49
5.5.170.0120.00010.49
5.5.160.0040.00810.57
5.5.150.0030.00810.49
5.5.140.0030.00610.49
5.5.130.0080.00310.62
5.5.120.0030.00310.49
5.5.110.0000.00910.59
5.5.100.0060.00310.49
5.5.90.0040.00410.49
5.5.80.0100.00010.69
5.5.70.0050.00510.59
5.5.60.0030.00710.49
5.5.50.0060.00610.68
5.5.40.0000.01210.49
5.5.30.0000.00810.80
5.5.20.0030.00710.55
5.5.10.0000.00710.51
5.5.00.0000.00810.82
5.4.450.0080.04214.87
5.4.440.0070.03015.16
5.4.430.0400.02714.96
5.4.420.0380.00014.95
5.4.410.0080.03314.72
5.4.400.0100.02814.67
5.4.390.0510.03014.53
5.4.380.0070.03714.53
5.4.370.0110.02614.63
5.4.360.0100.02814.57
5.4.350.0070.02311.25
5.4.340.0090.02811.27
5.4.330.0080.00410.49
5.4.320.0060.02711.52
5.4.310.0100.02111.54
5.4.300.0080.02111.47
5.4.290.0060.02311.72
5.4.280.0060.02211.54
5.4.270.0070.02111.60
5.4.260.0080.02111.54
5.4.250.0090.02011.57
5.4.240.0070.02611.54
5.4.230.0090.02711.60
5.4.220.0050.02211.63
5.4.210.0110.02411.41
5.4.200.0070.02711.63
5.4.190.0050.02311.61
5.4.180.0060.02311.54
5.4.170.0060.02411.50
5.4.160.0070.02211.42
5.4.150.0030.02411.41
5.4.140.0020.02411.46
5.4.130.0050.02211.32
5.4.120.0070.01911.23
5.4.110.0050.02411.42
5.4.100.0050.02211.30
5.4.90.0040.02311.32
5.4.80.0050.02411.30
5.4.70.0070.02011.36
5.4.60.0070.02111.27
5.4.50.0030.02311.23
5.4.40.0050.01911.22
5.4.30.0050.02011.22
5.4.20.0050.02111.33
5.4.10.0030.02111.24
5.4.00.0030.02311.11
5.3.290.0090.02211.65
5.3.280.0070.02711.60
5.3.270.0080.02511.61
5.3.260.0090.02111.61
5.3.250.0040.02311.60
5.3.240.0070.02011.60
5.3.230.0070.02211.60
5.3.220.0040.02311.58
5.3.210.0050.02711.59
5.3.200.0030.02411.59
5.3.190.0090.01811.58
5.3.180.0050.01911.58
5.3.170.0050.02211.58
5.3.160.0040.02111.58
5.3.150.0040.02311.58
5.3.140.0020.02611.58
5.3.130.0020.02611.57
5.3.120.0040.02411.57
5.3.110.0040.02311.57
5.3.100.0040.03111.30
5.3.90.0040.03211.29
5.3.80.0050.02411.28
5.3.70.0040.02011.28
5.3.60.0030.02311.28
5.3.50.0040.02311.24
5.3.40.0050.02011.25
5.3.30.0050.02411.22
5.3.20.0060.02511.11
5.3.10.0060.02111.09
5.3.00.0080.02411.09
5.2.170.0020.0219.83
5.2.160.0040.0189.83
5.2.150.0030.0209.84
5.2.140.0050.0179.83
5.2.130.0070.0149.81
5.2.120.0060.0169.81
5.2.110.0040.0239.82
5.2.100.0070.0149.81
5.2.90.0060.0189.82
5.2.80.0040.0179.81
5.2.70.0040.0189.81
5.2.60.0040.0199.79
5.2.50.0030.0249.77
5.2.40.0030.0189.76
5.2.30.0050.0149.75
5.2.20.0050.0169.74
5.2.10.0020.0209.70
5.2.00.0040.0239.63
5.1.60.0040.0219.28
5.1.50.0050.0139.28
5.1.40.0030.0169.26
5.1.30.0040.0169.44
5.1.20.0020.0179.45
5.1.10.0050.0149.31
5.1.00.0030.0179.31
5.0.50.0050.0108.55
5.0.40.0020.0148.48
5.0.30.0030.0188.39
5.0.20.0020.0138.37
5.0.10.0010.0138.36
5.0.00.0050.0168.36
4.4.90.0010.0127.63
4.4.80.0020.0117.62
4.4.70.0040.0077.62
4.4.60.0010.0107.62
4.4.50.0040.0127.63
4.4.40.0020.0157.60
4.4.30.0040.0077.63
4.4.20.0020.0097.67
4.4.10.0010.0107.67
4.4.00.0010.0157.62
4.3.110.0010.0127.58
4.3.100.0010.0097.57
4.3.90.0020.0117.56
4.3.80.0030.0137.54
4.3.70.0020.0087.56
4.3.60.0020.0107.56
4.3.50.0010.0117.56
4.3.40.0010.0157.51
4.3.30.0020.0096.88
4.3.20.0010.0106.87
4.3.10.0030.0106.85
4.3.00.0080.0138.52

preferences:
42.11 ms | 401 KiB | 5 Q