3v4l.org

run code in 300+ PHP versions simultaneously
<?php $im = imagecreatetruecolor(200, 200); $text_color = imagecolorallocate ($im, 0, 0, 0); imagestring ($im, 3, 5, 15, "hello uto4ka", $text_color); header('Content-type: image/png'); imagepng($img, NULL, 0, NULL); ?>

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.0100.00822.11
8.3.40.0030.01018.89
8.3.30.0140.00018.91
8.3.20.0040.00420.34
8.3.10.0080.00023.70
8.3.00.0000.01017.59
8.2.180.0090.00618.38
8.2.170.0150.00322.96
8.2.160.0070.00720.52
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0080.00021.03
8.2.110.0030.00621.00
8.2.100.0060.00617.91
8.2.90.0000.00817.63
8.2.80.0040.00417.97
8.2.70.0030.00717.91
8.2.60.0040.00417.80
8.2.50.0030.00518.10
8.2.40.0060.00320.65
8.2.30.0030.00320.55
8.2.20.0040.00417.62
8.2.10.0050.00217.98
8.2.00.0000.00817.97
8.1.280.0120.00925.92
8.1.270.0080.00024.02
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0000.00822.02
8.1.230.0000.01119.07
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0100.00017.35
8.1.190.0050.00317.10
8.1.180.0040.00418.10
8.1.170.0040.00418.34
8.1.160.0030.00321.83
8.1.150.0070.00018.67
8.1.140.0040.00419.37
8.1.130.0030.00317.65
8.1.120.0030.00317.36
8.1.110.0040.00417.24
8.1.100.0000.00717.30
8.1.90.0040.00417.22
8.1.80.0040.00417.20
8.1.70.0000.00717.32
8.1.60.0050.00317.31
8.1.50.0060.00317.47
8.1.40.0040.00417.40
8.1.30.0040.00417.58
8.1.20.0060.00317.42
8.1.10.0030.00517.42
8.1.00.0000.00717.41
8.0.300.0000.00719.66
8.0.290.0030.00616.75
8.0.280.0000.00718.43
8.0.270.0070.00017.14
8.0.260.0000.00617.26
8.0.250.0040.00416.96
8.0.240.0060.00016.88
8.0.230.0000.00716.81
8.0.220.0070.00016.94
8.0.210.0000.00816.77
8.0.200.0030.00316.95
8.0.190.0000.00816.95
8.0.180.0000.00716.83
8.0.170.0040.00416.79
8.0.160.0040.00416.87
8.0.150.0070.00016.75
8.0.140.0000.00716.89
8.0.130.0030.00313.36
8.0.120.0050.00216.75
8.0.110.0040.00416.80
8.0.100.0040.00416.96
8.0.90.0000.00716.86
8.0.80.0000.01516.88
8.0.70.0070.00016.72
8.0.60.0070.00016.89
8.0.50.0000.00716.77
8.0.30.0090.00716.97
8.0.20.0100.01117.40
8.0.10.0070.00016.88
8.0.00.0060.01416.61
7.4.330.0020.00215.08
7.4.320.0000.00616.38
7.4.300.0060.00016.50
7.4.290.0030.00316.39
7.4.280.0040.00416.54
7.4.270.0060.00016.43
7.4.260.0080.00016.52
7.4.250.0000.00816.43
7.4.240.0050.00316.43
7.4.230.0030.00316.55
7.4.220.0060.01316.57
7.4.210.0090.00816.39
7.4.200.0050.00216.34
7.4.160.0000.01516.34
7.4.150.0150.00317.40
7.4.140.0120.00917.86
7.4.130.0090.00916.52
7.4.120.0110.00916.41
7.4.110.0100.00716.36
7.4.100.0040.01916.51
7.4.90.0080.00816.44
7.4.80.0110.00919.39
7.4.70.0070.01016.31
7.4.60.0080.00816.24
7.4.50.0030.00516.27
7.4.40.0040.01416.35
7.4.30.0160.00716.57
7.4.00.0020.01514.83
7.3.330.0020.00213.00
7.3.320.0060.00013.02
7.3.310.0030.00316.14
7.3.300.0030.00316.30
7.3.290.0060.00016.07
7.3.280.0080.00916.30
7.3.270.0090.00917.40
7.3.260.0040.01316.27
7.3.250.0110.00616.42
7.3.240.0080.01116.30
7.3.230.0130.00316.45
7.3.210.0070.01016.36
7.3.200.0040.01216.22
7.3.190.0080.00816.50
7.3.180.0100.00716.39
7.3.170.0100.00716.27
7.3.160.0060.00916.40
7.3.120.0070.01114.77
7.3.110.0050.01014.78
7.3.100.0030.01014.80
7.3.90.0080.00514.71
7.3.80.0080.00414.80
7.3.70.0070.00714.80
7.3.60.0020.01014.87
7.3.50.0080.00714.76
7.3.40.0070.00814.73
7.3.30.0050.00814.82
7.3.20.0050.00716.59
7.3.10.0090.00816.56
7.3.00.0070.00616.52
7.2.330.0180.00316.52
7.2.320.0150.00916.58
7.2.310.0070.01016.56
7.2.300.0110.00716.30
7.2.290.0030.01716.55
7.2.250.0060.00915.05
7.2.240.0100.00814.88
7.2.230.0070.00814.79
7.2.220.0030.01214.89
7.2.210.0060.00715.06
7.2.200.0110.00414.94
7.2.190.0090.00414.83
7.2.180.0060.00614.87
7.2.170.0040.00614.71
7.2.160.0070.00715.05
7.2.150.0070.01016.76
7.2.140.0070.00716.73
7.2.130.0050.01016.54
7.2.120.0060.00816.69
7.2.110.0100.00816.62
7.2.100.0150.00316.84
7.2.90.0100.00716.80
7.2.80.0080.00716.69
7.2.70.0090.00516.48
7.2.60.0070.00816.61
7.2.50.0070.01016.59
7.2.40.0110.00616.61
7.2.30.0100.00916.74
7.2.20.0140.00316.76
7.2.10.0040.01016.69
7.2.00.0100.00716.81
7.1.330.0050.00915.71
7.1.320.0020.01015.81
7.1.310.0070.00915.65
7.1.300.0080.00515.63
7.1.290.0060.00715.44
7.1.280.0000.01415.68
7.1.270.0020.01115.69
7.1.260.0050.00415.64
7.1.250.0050.00615.43
7.1.200.0030.00715.73
7.1.70.0000.00817.12
7.1.60.0160.00019.43
7.1.50.0100.00616.62
7.1.00.0100.07022.35
7.0.200.0030.00516.40
7.0.60.0170.07321.73
7.0.50.0070.06717.66
7.0.40.0100.08719.90
7.0.30.0230.06320.16
7.0.20.0200.05720.33
7.0.10.0430.06720.18
7.0.00.0000.08020.14
5.6.280.0070.03020.95
5.6.210.0000.04720.70
5.6.200.0070.04318.17
5.6.190.0030.06020.64
5.6.180.0000.05720.58
5.6.170.0230.06020.42
5.6.160.0100.05318.18
5.6.150.0030.08718.12
5.6.140.0130.07718.20
5.6.130.0100.05318.11
5.6.120.0130.05721.02
5.6.110.0070.07021.13
5.6.100.0070.06021.08
5.6.90.0130.06321.11
5.6.80.0200.07020.51
5.5.350.0030.07320.52
5.5.340.0030.04017.98
5.5.330.0170.07020.12
5.5.320.0030.05320.34
5.5.310.0230.06320.26
5.5.300.0070.08018.00
5.5.290.0100.05318.01
5.5.280.0100.08020.87
5.5.270.0130.07320.79
5.5.260.0030.08320.86
5.5.250.0000.04720.53
5.5.240.0170.06720.21
5.4.450.0200.05319.27
5.4.440.0200.05719.49
5.4.430.0100.06019.43
5.4.420.0030.06319.46
5.4.410.0170.05019.45
5.4.400.0070.06319.09
5.4.390.0200.05018.80
5.4.380.0100.05718.79
5.4.370.0230.04319.25
5.4.360.0170.05019.11
5.4.350.0100.05718.98
5.4.340.0130.05719.22
5.4.320.0230.04719.27
5.4.310.0230.04319.14
5.4.300.0200.05018.91
5.4.290.0130.05319.22
5.4.280.0070.06019.14
5.4.270.0130.05319.25
5.4.260.0230.04319.26
5.4.250.0130.05319.25
5.4.240.0170.05019.08
5.4.230.0230.04318.98
5.4.220.0230.05019.25
5.4.210.0170.06019.26
5.4.200.0030.06319.24
5.4.190.0200.04719.21
5.4.180.0230.04319.16
5.4.170.0100.06318.97
5.4.160.0200.04719.03
5.4.150.0130.05319.04
5.4.140.0630.05716.26
5.4.130.0670.05016.32
5.4.120.0730.05716.31
5.4.110.0770.05016.52
5.4.100.0930.06016.39
5.4.90.0500.05016.45
5.4.80.0730.04016.44
5.4.70.0300.05016.16
5.4.60.0230.05716.45
5.4.50.0300.07716.15
5.4.40.0730.05716.45
5.4.30.0130.05016.45
5.4.20.0170.04316.32
5.4.10.0430.06016.46
5.4.00.0700.05015.98

preferences:
37.43 ms | 401 KiB | 5 Q