3v4l.org

run code in 300+ PHP versions simultaneously
<?php header ("Content-type: image/png"); $im = imagecreatetruecolor(600, 150); $ink = imagecolorallocate($im, 0, 0, 0); $red = imagecolorallocate($im, 255, 0, 0); $green = imagecolorallocate($im, 0, 255, 0); imagefilledellipse($im,300,160,290,290,$red); imagefilledellipse($im,300,160,280,280,$green); 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.0170.00318.43
8.3.50.0100.00721.02
8.3.40.0060.00918.60
8.3.30.0090.00620.26
8.3.20.0000.00720.33
8.3.10.0070.00022.09
8.3.00.0040.00422.52
8.2.180.0070.01416.75
8.2.170.0070.00722.96
8.2.160.0070.00722.08
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0000.00820.75
8.2.110.0070.00322.03
8.2.100.0000.01117.66
8.2.90.0000.00817.63
8.2.80.0030.00617.97
8.2.70.0000.00917.91
8.2.60.0000.00817.93
8.2.50.0050.00218.10
8.2.40.0040.00420.59
8.2.30.0060.00319.45
8.2.20.0000.00717.66
8.2.10.0040.00417.57
8.2.00.0000.00817.56
8.1.280.0060.00925.92
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00923.97
8.1.230.0060.00619.08
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.23
8.1.190.0040.00417.13
8.1.180.0040.00418.10
8.1.170.0040.00418.66
8.1.160.0000.00718.69
8.1.150.0040.00418.57
8.1.140.0050.00217.38
8.1.130.0000.00717.78
8.1.120.0040.00417.36
8.1.110.0000.01117.29
8.1.100.0000.00717.25
8.1.90.0050.00317.24
8.1.80.0040.00417.23
8.1.70.0070.00017.34
8.1.60.0040.00417.38
8.1.50.0020.00517.46
8.1.40.0080.00017.52
8.1.30.0020.00517.55
8.1.20.0040.00417.62
8.1.10.0020.00517.46
8.1.00.0050.00217.51
8.0.300.0000.00719.73
8.0.290.0000.00816.63
8.0.280.0000.00718.50
8.0.270.0040.00417.11
8.0.260.0000.00718.31
8.0.250.0030.00316.97
8.0.240.0050.00316.99
8.0.230.0040.00416.92
8.0.220.0040.00416.88
8.0.210.0070.00016.93
8.0.200.0000.00616.97
8.0.190.0030.00316.90
8.0.180.0000.00816.93
8.0.170.0080.00016.92
8.0.160.0030.00316.93
8.0.150.0060.00316.91
8.0.140.0040.00416.89
8.0.130.0060.00013.32
8.0.120.0050.00316.86
8.0.110.0040.00416.95
8.0.100.0000.00716.72
8.0.90.0020.00516.79
8.0.80.0000.02016.88
8.0.70.0000.00716.91
8.0.60.0080.00016.71
8.0.50.0030.00616.68
8.0.30.0070.01216.96
8.0.20.0100.01017.40
8.0.10.0070.00016.89
8.0.00.0110.00916.71
7.4.330.0000.00715.07
7.4.320.0030.00316.41
7.4.300.0000.00616.46
7.4.290.0000.00716.60
7.4.280.0080.00016.34
7.4.270.0000.00716.46
7.4.260.0000.00513.24
7.4.250.0050.00316.45
7.4.240.0020.00616.48
7.4.230.0000.00716.27
7.4.220.0030.01416.50
7.4.210.0060.00816.49
7.4.200.0000.00716.30
7.4.190.0070.00016.43
7.4.160.0090.00916.43
7.4.150.0130.00617.40
7.4.140.0040.01817.86
7.4.130.0070.01016.47
7.4.120.0070.00916.44
7.4.110.0070.01716.45
7.4.100.0040.01416.34
7.4.90.0040.01516.41
7.4.80.0070.01019.39
7.4.70.0100.00616.32
7.4.60.0120.00916.43
7.4.50.0070.00016.61
7.4.40.0100.00722.77
7.4.30.0180.00416.31
7.4.00.0030.01015.00
7.3.330.0000.00512.99
7.3.320.0030.00313.11
7.3.310.0000.00616.30
7.3.300.0000.00616.29
7.3.290.0120.00916.41
7.3.280.0070.01216.26
7.3.270.0090.00917.40
7.3.260.0100.01316.34
7.3.250.0050.01316.39
7.3.240.0070.01016.48
7.3.230.0150.00016.40
7.3.210.0070.01116.32
7.3.200.0070.01019.39
7.3.190.0080.01116.27
7.3.180.0170.00316.60
7.3.170.0100.01016.61
7.3.160.0120.00916.34
7.3.120.0030.01014.92
7.2.330.0060.01316.27
7.2.320.0090.00616.27
7.2.310.0150.01016.64
7.2.300.0090.01216.41
7.2.290.0070.01016.61
7.2.60.0070.00716.72
7.2.00.0030.01019.38
7.1.200.0050.00915.77
7.1.100.0030.01018.18
7.1.70.0040.00417.05
7.1.60.0100.01419.21
7.1.50.0230.01034.75
7.1.00.0000.06322.48
7.0.200.0310.00314.82
7.0.140.0070.06721.95
7.0.120.0170.04022.13
7.0.110.0070.06321.89
7.0.100.0100.03722.00
7.0.90.0030.05022.00
7.0.80.0000.04721.99
7.0.70.0070.04022.09
7.0.60.0070.05022.10
7.0.50.0070.07021.99
7.0.40.0030.06020.01
7.0.30.0100.06020.03
7.0.20.0100.06320.14
7.0.10.0070.07320.08
7.0.00.0030.04320.13
5.6.280.0000.07720.89
5.6.270.0000.06320.83
5.6.260.0030.07021.02
5.6.250.0030.05720.91
5.6.240.0000.05020.79
5.6.230.0030.06020.74
5.6.220.0100.03321.02
5.6.210.0130.03020.90
5.6.200.0030.04720.89
5.6.190.0130.06720.70
5.6.180.0000.04320.96
5.6.170.0200.02320.98
5.6.160.0100.05320.84
5.6.150.0030.05320.79
5.6.140.0170.02720.68
5.6.130.0030.08321.03
5.6.120.0030.05020.69
5.6.110.0030.04721.00
5.6.100.0070.04020.86
5.6.90.0000.04320.72
5.6.80.0070.03720.16
5.6.70.0000.05320.15
5.6.60.0030.04020.25
5.6.50.0030.04020.18
5.6.40.0000.04020.25
5.6.30.0130.06720.32
5.6.20.0000.05020.30
5.6.10.0000.06020.05
5.6.00.0170.02720.08
5.5.380.0000.06317.47
5.5.370.0030.05717.39
5.5.360.0000.04317.52
5.5.350.0000.05317.46
5.5.340.0030.04318.25
5.5.330.0000.07717.85
5.5.320.0030.04017.85
5.5.310.0070.06318.25
5.5.300.0030.03717.86
5.5.290.0000.04718.13
5.5.280.0070.03717.87
5.5.270.0030.05718.16
5.5.260.0030.04318.02
5.5.250.0130.03317.84
5.5.240.0000.04017.23
5.5.230.0130.05317.53
5.5.220.0030.07717.50
5.5.210.0000.04017.22
5.5.200.0070.06717.13
5.5.190.0070.04717.24
5.5.180.0000.07317.52
5.5.160.0030.03717.12
5.5.150.0030.04317.19
5.5.140.0070.03317.60
5.5.130.0030.04017.44
5.5.120.0070.03317.23
5.5.110.0070.05017.46
5.5.100.0000.07317.24
5.5.90.0030.03717.50
5.5.80.0100.06017.41
5.5.70.0200.05717.11
5.5.60.0000.04017.09
5.5.50.0030.05317.08
5.5.40.0100.06017.01
5.5.30.0100.07017.40
5.5.20.0070.05717.10
5.5.10.0070.05017.49
5.5.00.0030.04017.21
5.4.450.0070.04319.22
5.4.440.0070.06719.39
5.4.430.0070.06319.37
5.4.420.0070.04719.43
5.4.410.0030.03719.27
5.4.400.0030.05318.94
5.4.390.0030.03719.12
5.4.380.0000.04018.93
5.4.370.0030.03719.11
5.4.360.0070.03718.91
5.4.350.0000.04019.23
5.4.340.0030.04719.06
5.4.320.0000.04019.22
5.4.310.0100.04718.96
5.4.300.0030.03719.11
5.4.290.0100.06019.06
5.4.280.0030.07018.94
5.4.270.0000.04018.95
5.4.260.0030.03718.88
5.4.250.0100.04319.07
5.4.240.0000.04019.21
5.4.230.0130.05018.95
5.4.220.0070.07318.97
5.4.210.0000.04019.21
5.4.200.0030.04318.89
5.4.190.0030.04019.04
5.4.180.0070.03718.92
5.4.170.0100.04718.86
5.4.160.0030.05019.18
5.4.150.0030.07719.09
5.4.140.0070.03316.17
5.4.130.0100.06716.17
5.4.120.0030.04016.22
5.4.110.0030.03716.13
5.4.100.0000.05016.08
5.4.90.0100.06716.32
5.4.80.0070.05016.23
5.4.70.0030.06716.34
5.4.60.0070.05716.41
5.4.50.0030.03716.21
5.4.40.0000.04316.35
5.4.30.0130.04316.20
5.4.20.0030.03716.45
5.4.10.0000.05016.15
5.4.00.0030.06315.75
5.3.290.0000.04014.51
5.3.280.0030.04014.61
5.3.270.0030.06014.49
5.3.260.0170.02314.53
5.3.250.0030.06014.46
5.3.240.0000.03714.49
5.3.230.0000.06714.52
5.3.220.0030.04714.46
5.3.210.0030.05314.56
5.3.200.0030.05314.47
5.3.190.0070.03314.58
5.3.180.0030.06014.44
5.3.170.0000.04314.35
5.3.160.0030.03314.46
5.3.150.0000.04014.60
5.3.140.0070.07014.57
5.3.130.0030.04714.55
5.3.120.0030.05014.34
5.3.110.0070.03314.43
5.3.100.0030.04714.11
5.3.90.0030.03713.95
5.3.80.0030.05314.04
5.3.70.0030.06313.96
5.3.60.0170.06313.79
5.3.50.0000.06313.88
5.3.40.0070.05313.97
5.3.30.0000.04013.83
5.3.20.0000.04013.57
5.3.10.0070.06313.68
5.3.00.0100.03313.70
5.2.170.0000.03011.13
5.2.160.0030.02711.09
5.2.150.0000.03311.07
5.2.140.0030.03011.06
5.2.130.0000.03011.00
5.2.120.0030.05311.05
5.2.110.0000.03011.04
5.2.100.0030.02711.12
5.2.90.0070.02311.09
5.2.80.0000.03011.25
5.2.70.0030.02711.04
5.2.60.0070.02710.99
5.2.50.0070.02711.17
5.2.40.0030.03011.06
5.2.30.0000.03010.89
5.2.20.0000.02710.86
5.2.10.0030.02710.86
5.2.00.0030.03710.79
5.1.60.0000.03010.23
5.1.50.0000.0279.88
5.1.40.0000.0239.82
5.1.30.0000.03010.23
5.1.20.0070.02310.28
5.1.10.0000.02710.07
5.1.00.0000.02710.14
5.0.50.0000.0209.82
5.0.40.0030.0279.82
5.0.30.0000.0309.82
5.0.20.0000.0239.82
5.0.10.0000.0209.82
5.0.00.0000.0309.82
4.4.90.0070.0109.82
4.4.80.0000.0139.82
4.4.70.0000.0179.82
4.4.60.0000.0179.82
4.4.50.0000.0179.82
4.4.40.0000.0379.82
4.4.30.0000.0179.82
4.4.20.0000.0179.82
4.4.10.0070.0109.82
4.4.00.0030.0239.82
4.3.110.0000.0409.82
4.3.100.0030.0139.82
4.3.90.0000.0139.82
4.3.80.0000.0239.82
4.3.70.0000.0179.82
4.3.60.0030.0139.82
4.3.50.0000.0179.82
4.3.40.0000.0239.82
4.3.30.0000.0139.82
4.3.20.0000.0179.82
4.3.10.0000.0179.82
4.3.00.0000.0139.82

preferences:
40.53 ms | 401 KiB | 5 Q