3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-Type: image/png'); $im = imagecreatetruecolor(290, 60); $grey = imagecolorallocate($im, 200, 200, 200); $black = imagecolorallocate($im, 0, 0, 0); imagefilledrectangle($im, 0, 0, 289, 59, $grey); $font = 'seguisym.ttf'; $font = realpath($font); //&#127744; is the unicode html entity for a cyclone. It is under 'Miscellaneous Symbols And Pictographs'. $text = "&#127744; is a cyclone!"; imagettftext($im, 20, 0, 5, 22, $black, $font, $text); //&#9924; is the unicode html entity for a snowman. It is under 'Miscellaneous Symbols'. $text = "&#9924; is a snowman!"; imagettftext($im, 20, 0, 5, 52, $black, $font, $text); 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.0100.01016.88
8.3.50.0110.00816.39
8.3.40.0140.00718.97
8.3.30.0070.01018.67
8.3.20.0090.00018.91
8.3.10.0000.00820.51
8.3.00.0040.00419.38
8.2.180.0070.01116.63
8.2.170.0070.00722.96
8.2.160.0150.00320.74
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0040.00426.16
8.2.120.0050.00219.64
8.2.110.0030.00620.94
8.2.100.0090.00317.72
8.2.90.0030.00619.14
8.2.80.0020.00519.45
8.2.70.0050.00317.63
8.2.60.0040.00717.93
8.2.50.0050.00318.07
8.2.40.0030.00518.03
8.2.30.0040.00417.97
8.2.20.0080.00017.59
8.2.10.0040.00417.69
8.2.00.0110.00017.58
8.1.280.0200.00025.92
8.1.270.0000.00824.66
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00322.52
8.1.230.0000.01120.98
8.1.220.0050.00317.74
8.1.210.0060.00418.77
8.1.200.0030.00617.23
8.1.190.0050.00317.26
8.1.180.0050.00318.10
8.1.170.0050.00318.74
8.1.160.0000.00718.83
8.1.150.0060.00318.57
8.1.140.0080.00417.18
8.1.130.0030.00317.69
8.1.120.0030.00517.39
8.1.110.0040.00317.40
8.1.100.0040.00417.23
8.1.90.0030.00517.28
8.1.80.0000.00717.43
8.1.70.0000.00717.38
8.1.60.0050.00217.38
8.1.50.0000.00717.42
8.1.40.0000.00817.49
8.1.30.0050.00217.60
8.1.20.0050.00317.61
8.1.10.0050.00317.45
8.1.00.0040.00417.48
8.0.300.0000.00820.09
8.0.290.0040.00416.73
8.0.280.0000.00718.29
8.0.270.0000.00717.20
8.0.260.0000.00816.72
8.0.250.0000.00716.97
8.0.240.0000.01016.96
8.0.230.0000.00717.00
8.0.220.0030.00316.82
8.0.210.0040.00416.80
8.0.200.0030.00316.95
8.0.190.0030.00516.87
8.0.180.0040.00416.95
8.0.170.0080.00017.00
8.0.160.0000.00716.93
8.0.150.0000.00816.89
8.0.140.0000.01016.89
8.0.130.0030.00313.34
8.0.120.0040.00416.93
8.0.110.0040.00416.75
8.0.100.0040.00416.71
8.0.90.0040.00416.74
8.0.80.0030.01316.87
8.0.70.0040.00416.86
8.0.60.0040.00416.98
8.0.50.0050.00216.93
8.0.30.0120.00917.04
8.0.20.0080.01017.00
8.0.10.0000.00717.00
8.0.00.0110.00916.61
7.4.330.0000.00512.87
7.4.320.0000.00616.42
7.4.300.0000.00616.37
7.4.290.0000.00716.54
7.4.280.0070.00016.48
7.4.270.0100.00016.39
7.4.260.0030.00313.16
7.4.250.0080.00016.58
7.4.240.0040.00416.49
7.4.230.0000.00716.63
7.4.220.0100.01616.61
7.4.210.0060.00916.44
7.4.200.0040.00416.57
7.4.190.0000.00716.34
7.4.160.0100.00616.55
7.4.150.0070.01316.39
7.4.140.0100.01116.71
7.4.130.0070.01216.35
7.4.120.0050.01116.47
7.4.110.0060.01216.30
7.4.100.0100.00716.30
7.4.90.0090.01516.53
7.4.80.0090.01316.47
7.4.70.0080.00816.52
7.4.60.0170.00316.38
7.4.50.0040.00416.47
7.4.40.0060.00616.63
7.4.30.0100.00716.69
7.4.10.0090.00614.75
7.4.00.0110.00415.10
7.3.330.0000.00613.09
7.3.320.0050.00013.04
7.3.310.0030.00316.37
7.3.300.0000.00616.11
7.3.290.0090.00916.27
7.3.280.0050.01116.28
7.3.270.0170.00016.41
7.3.260.0130.00516.47
7.3.250.0060.01116.42
7.3.240.0070.01016.31
7.3.230.0060.00916.42
7.3.210.0060.01316.27
7.3.200.0210.00019.39
7.3.190.0140.00416.27
7.3.180.0060.01116.32
7.3.170.0110.00516.36
7.3.160.0130.00316.33
7.3.130.0030.01114.59
7.3.120.0070.00614.87
7.3.110.0100.00714.69
7.3.100.0000.01114.94
7.3.90.0040.00414.89
7.3.80.0000.01014.92
7.3.70.0040.00414.88
7.3.60.0060.00914.82
7.3.50.0040.01514.95
7.3.40.0040.00414.62
7.3.30.0070.00414.62
7.3.20.0030.01016.55
7.3.10.0010.01016.58
7.3.00.0030.00916.63
7.2.330.0000.01816.51
7.2.320.0040.01316.22
7.2.310.0100.00716.38
7.2.300.0030.01416.36
7.2.290.0060.01016.52
7.2.260.0030.01015.06
7.2.250.0120.00814.87
7.2.240.0000.01414.86
7.2.230.0040.00815.10
7.2.220.0030.01014.95
7.2.210.0000.01314.78
7.2.200.0070.00714.78
7.2.190.0100.00714.92
7.2.180.0000.01414.93
7.2.170.0040.01214.91
7.2.160.0040.00414.83
7.2.150.0080.00416.84
7.2.140.0060.00316.49
7.2.130.0080.00316.88
7.2.120.0070.00716.66
7.2.110.0010.00916.70
7.2.100.0070.00516.80
7.2.90.0060.00616.62
7.2.80.0050.00516.86
7.2.70.0100.00316.44
7.2.60.0070.00816.85
7.2.50.0090.00616.85
7.2.40.0080.00716.82
7.2.30.0040.00816.75
7.2.20.0050.01016.59
7.2.10.0060.00816.87
7.2.00.0060.00617.56
7.1.330.0070.00715.67
7.1.320.0080.00415.76
7.1.310.0050.00515.68
7.1.300.0030.01715.51
7.1.290.0100.01015.43
7.1.280.0030.00615.79
7.1.270.0030.00715.80
7.1.260.0030.01015.59
7.1.250.0040.00715.76
7.1.240.0000.00815.73
7.1.230.0060.00615.82
7.1.220.0120.00315.69
7.1.210.0030.01015.52
7.1.200.0040.00315.74
7.1.190.0000.01515.58
7.1.180.0110.00415.69
7.1.170.0060.00915.74
7.1.160.0120.00315.79
7.1.150.0070.01115.77
7.1.140.0090.00615.70
7.1.130.0000.01315.83
7.1.120.0070.00715.72
7.1.110.0140.00015.56
7.1.100.0030.00716.96
7.1.90.0080.00015.60
7.1.80.0000.00915.63
7.1.70.0070.00516.14
7.1.60.0060.01317.50
7.1.50.0050.01416.18
7.1.40.0070.00715.64
7.1.30.0060.00315.66
7.1.20.0070.00615.69
7.1.10.0070.00415.66
7.1.00.0070.03818.99
7.0.330.0090.00315.13
7.0.320.0050.00515.28
7.0.310.0090.00315.37
7.0.300.0060.00915.11
7.0.290.0000.01015.25
7.0.280.0040.00715.16
7.0.270.0100.00315.31
7.0.260.0030.01015.17
7.0.250.0000.01015.25
7.0.240.0030.00715.32
7.0.230.0000.01315.36
7.0.220.0070.00715.27
7.0.210.0070.00315.23
7.0.200.0040.00516.01
7.0.190.0080.00815.37
7.0.180.0030.00915.55
7.0.170.0000.01015.35
7.0.160.0090.00615.38
7.0.150.0140.00315.44
7.0.140.0060.03818.72
7.0.130.0030.01015.18
7.0.120.0030.04118.70
7.0.110.0030.00614.96
7.0.100.0080.00415.28
7.0.90.0040.00815.30
7.0.80.0140.00015.39
7.0.70.0000.01215.37
7.0.60.0120.04017.61
7.0.50.0050.03516.58
7.0.40.0040.03015.61
7.0.30.0080.03215.52
7.0.20.0030.04915.56
7.0.10.0100.04215.54
7.0.00.0020.02415.55
5.6.400.0040.01114.00
5.6.390.0070.00714.25
5.6.380.0030.01114.07
5.6.370.0080.00414.02
5.6.360.0000.01013.93
5.6.350.0100.00313.99
5.6.340.0060.00914.17
5.6.330.0060.01114.27
5.6.320.0030.00713.76
5.6.310.0070.00714.37
5.6.300.0070.01114.25
5.6.290.0080.00314.09
5.6.280.0050.04017.68
5.6.270.0000.01714.03
5.6.260.0060.00614.28
5.6.250.0040.00814.14
5.6.240.0030.00714.38
5.6.230.0030.00714.01
5.6.220.0000.01514.25
5.6.210.0150.03717.35
5.6.200.0080.03316.13
5.6.190.0100.04216.15
5.6.180.0080.04516.06
5.6.170.0020.05116.26
5.6.160.0080.03116.10
5.6.150.0050.04516.01
5.6.140.0030.03116.07
5.6.130.0050.04916.16
5.6.120.0080.02516.05
5.6.110.0070.02716.22
5.6.100.0070.02116.01
5.6.90.0080.02616.16
5.6.80.0050.04615.83
5.6.70.0060.04015.84
5.6.60.0050.04615.66
5.6.50.0100.03615.88
5.6.40.0050.02515.88
5.6.30.0050.04515.79
5.6.20.0100.04015.73
5.6.10.0080.03815.91
5.6.00.0070.03715.83
5.5.380.0090.00514.01
5.5.370.0110.00413.98
5.5.360.0090.00913.93
5.5.350.0130.03917.24
5.5.340.0090.02016.03
5.5.330.0020.02716.11
5.5.320.0100.04016.06
5.5.310.0070.04415.81
5.5.300.0070.04315.98
5.5.290.0070.04516.16
5.5.280.0120.04016.07
5.5.270.0080.04015.83
5.5.260.0050.03315.91
5.5.250.0050.03415.88
5.5.240.0100.03815.60
5.5.230.0040.03815.53
5.5.220.0030.04515.73
5.5.210.0020.03815.64
5.5.200.0080.03815.64
5.5.190.0070.04515.54
5.5.180.0100.03015.59
5.5.170.0030.01413.79
5.5.160.0000.05015.59
5.5.150.0080.01715.74
5.5.140.0070.02815.70
5.5.130.0070.04215.57
5.5.120.0030.04315.69
5.5.110.0050.02715.67
5.5.100.0020.02515.55
5.5.90.0040.02215.47
5.5.80.0050.02015.58
5.5.70.0030.02215.57
5.5.60.0020.02415.65
5.5.50.0020.02415.48
5.5.40.0080.02215.68
5.5.30.0040.02115.71
5.5.20.0060.02015.64
5.5.10.0050.02615.41
5.5.00.0000.02715.54
5.4.450.0050.03515.03
5.4.440.0070.04515.07
5.4.430.0020.04515.10
5.4.420.0060.03515.22
5.4.410.0090.02515.07
5.4.400.0050.03814.90
5.4.390.0020.04514.83
5.4.380.0050.04214.88
5.4.370.0050.04014.96
5.4.360.0060.03614.85
5.4.350.0080.03814.93
5.4.340.0110.03014.85
5.4.330.0040.00410.68
5.4.320.0080.02814.81
5.4.310.0050.02314.79
5.4.300.0090.02214.87
5.4.290.0100.03714.98
5.4.280.0040.02414.88
5.4.270.0000.03614.92
5.4.260.0030.02114.95
5.4.250.0050.02014.79
5.4.240.0040.02214.89
5.4.230.0020.02314.79
5.4.220.0030.02114.87
5.4.210.0080.01614.78
5.4.200.0040.02114.90
5.4.190.0020.02214.87
5.4.180.0040.02114.89
5.4.170.0070.01814.60
5.4.160.0020.02414.85
5.4.150.0030.02014.75
5.4.140.0050.01813.63
5.4.130.0040.02013.76
5.4.120.0020.02013.70
5.4.110.0030.02113.34
5.4.100.0080.01513.54
5.4.90.0050.02013.46
5.4.80.0010.02013.41
5.4.70.0050.02013.55
5.4.60.0030.02013.42
5.4.50.0060.01813.54
5.4.40.0030.02013.66
5.4.30.0020.02113.37
5.4.20.0000.02313.58
5.4.10.0050.03013.66
5.4.00.0020.02013.19
5.3.290.0060.02512.54
5.3.280.0030.02312.35
5.3.270.0030.02112.53
5.3.260.0000.02312.46
5.3.250.0020.02012.44
5.3.240.0070.01712.36
5.3.230.0020.02212.32
5.3.220.0050.01812.42
5.3.210.0020.02412.46
5.3.200.0000.02312.46
5.3.190.0050.02012.42
5.3.180.0030.02012.39
5.3.170.0000.02412.43
5.3.160.0050.02012.46
5.3.150.0050.01712.41
5.3.140.0020.02112.49
5.3.130.0050.02212.46
5.3.120.0030.02012.54
5.3.110.0040.02012.54
5.3.100.0050.04212.11
5.3.90.0050.01912.09
5.3.80.0030.02912.09
5.3.70.0030.04212.09
5.3.60.0030.03812.10
5.3.50.0080.02811.99
5.3.40.0050.04012.07
5.3.30.0050.02812.06
5.3.20.0060.04011.87
5.3.10.0070.03711.75
5.3.00.0030.03911.88
5.2.170.0070.03011.04
5.2.160.0070.05311.13
5.2.150.0030.06711.13
5.2.140.0030.06011.11
5.2.130.0200.04710.94
5.2.120.0100.05311.04
5.2.110.0070.05011.09
5.2.100.0100.06010.99
5.2.90.0100.05011.07
5.2.80.0070.06011.24
5.2.70.0070.05011.08
5.2.60.0030.04011.19
5.2.50.0030.06711.01
5.2.40.0030.06010.83
5.2.30.0070.06011.00
5.2.20.0030.05710.95
5.2.10.0100.05310.89
5.2.00.0070.05310.73
5.1.60.0030.05310.07
5.1.50.0070.0239.82
5.1.40.0070.0539.90
5.1.30.0070.04310.36
5.1.20.0070.02710.38
5.1.10.0030.04310.05
5.1.00.0070.03310.04
5.0.50.0030.0478.52
5.0.40.0100.0408.46
5.0.30.0000.0708.24
5.0.20.0030.0478.27
5.0.10.0030.0408.13
5.0.00.0030.0507.96
4.4.90.0030.0377.69
4.4.80.0000.0207.69
4.4.70.0030.0337.69
4.4.60.0000.0307.69
4.4.50.0000.0407.69
4.4.40.0100.0337.69
4.4.30.0070.0237.69
4.4.20.0070.0307.69
4.4.10.0000.0377.69
4.4.00.0070.0507.69
4.3.110.0030.0377.69
4.3.100.0000.0307.69
4.3.90.0000.0177.69
4.3.80.0000.0477.69
4.3.70.0000.0277.69
4.3.60.0070.0277.69
4.3.50.0000.0277.69
4.3.40.0070.0437.69
4.3.30.0000.0337.69
4.3.20.0030.0377.69
4.3.10.0000.0377.69
4.3.00.0000.0377.69

preferences:
48.31 ms | 401 KiB | 5 Q