3v4l.org

run code in 300+ PHP versions simultaneously
<?php $output = @iconv_mime_encode('', 'Orange portál portál', array( 'scheme' => 'Q', 'line-length' => 76, 'input-charset' => 'UTF-8', 'output-charset' => 'UTF-8', 'line-break-chars' => "\n" ) ); // There are reports that iconv_mime_encode() might fail and return FALSE //if ($output !== FALSE) //{ // iconv_mime_encode() will always put a header field name. // We've passed it an empty one, but it still prepends our // encoded string with ': ', so we need to strip it. return substr($output, 2); //} // $chars = iconv_strlen($str, 'UTF-8'); echo $output;

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.0180.00416.37
8.3.50.0130.00522.05
8.3.40.0100.00718.73
8.3.30.0000.01418.63
8.3.20.0070.00020.34
8.3.10.0080.00023.50
8.3.00.0040.00419.30
8.2.180.0180.00016.63
8.2.170.0090.00922.96
8.2.160.0070.00720.36
8.2.150.0000.00724.18
8.2.140.0000.00924.66
8.2.130.0000.00826.16
8.2.120.0040.00426.16
8.2.110.0100.00022.07
8.2.100.0120.00017.84
8.2.90.0000.00817.50
8.2.80.0040.00417.97
8.2.70.0000.00917.93
8.2.60.0060.00319.88
8.2.50.0050.00318.10
8.2.40.0090.00319.30
8.2.30.0040.00420.75
8.2.20.0050.00217.76
8.2.10.0060.00317.96
8.2.00.0070.00017.99
8.1.280.0150.00625.92
8.1.270.0060.00323.91
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0090.00023.82
8.1.230.0070.00719.18
8.1.220.0060.00317.74
8.1.210.0030.00618.77
8.1.200.0000.00917.25
8.1.190.0030.00517.23
8.1.180.0040.00418.10
8.1.170.0040.00418.64
8.1.160.0030.00321.94
8.1.150.0070.00018.93
8.1.140.0040.00419.64
8.1.130.0040.00417.67
8.1.120.0000.00717.52
8.1.110.0000.00817.49
8.1.100.0030.00517.52
8.1.90.0050.00217.44
8.1.80.0040.00417.51
8.1.70.0000.00717.41
8.1.60.0030.00517.60
8.1.50.0030.00517.43
8.1.40.0090.00017.40
8.1.30.0000.00817.59
8.1.20.0000.00717.53
8.1.10.0080.00017.42
8.1.00.0040.00417.42
8.0.300.0040.00422.03
8.0.290.0050.00516.61
8.0.280.0030.00318.45
8.0.270.0080.00017.14
8.0.260.0070.00017.27
8.0.250.0040.00416.95
8.0.240.0080.00016.87
8.0.230.0040.00417.04
8.0.220.0040.00416.89
8.0.210.0000.00716.91
8.0.200.0060.00016.92
8.0.190.0000.00916.93
8.0.180.0000.00716.98
8.0.170.0040.00416.90
8.0.160.0040.00316.96
8.0.150.0000.00716.82
8.0.140.0040.00416.81
8.0.130.0030.00313.30
8.0.120.0030.00617.02
8.0.110.0030.00717.01
8.0.100.0030.00617.00
8.0.90.0030.00616.99
8.0.80.0090.00917.03
8.0.70.0040.00417.13
8.0.60.0030.00616.99
8.0.50.0030.00617.00
8.0.30.0100.01017.18
8.0.20.0090.01217.40
8.0.10.0030.00617.21
8.0.00.0100.01116.91
7.4.330.0000.00615.08
7.4.320.0070.00016.50
7.4.300.0040.00416.51
7.4.290.0070.00016.61
7.4.280.0000.00716.52
7.4.270.0050.00316.41
7.4.260.0030.00316.45
7.4.250.0110.00016.57
7.4.240.0000.00916.64
7.4.230.0000.00916.60
7.4.220.0180.01116.64
7.4.210.0110.00616.65
7.4.200.0040.00416.81
7.4.160.0060.01216.61
7.4.150.0090.01217.40
7.4.140.0110.01117.86
7.4.130.0090.01116.50
7.4.120.0110.01016.63
7.4.110.0130.01616.52
7.4.100.0150.00616.59
7.4.90.0090.01116.57
7.4.80.0150.01119.39
7.4.70.0060.01216.63
7.4.60.0070.01416.63
7.4.50.0040.00716.51
7.4.40.0150.00816.70
7.4.30.0130.01016.54
7.4.00.0090.00915.09
7.3.330.0030.00313.09
7.3.320.0020.00213.09
7.3.310.0000.00816.33
7.3.300.0030.00616.30
7.3.290.0090.01016.29
7.3.280.0100.01216.29
7.3.270.0120.00617.40
7.3.260.0100.01016.54
7.3.250.0080.01316.44
7.3.240.0110.01016.36
7.3.230.0090.01216.39
7.3.210.0100.01016.35
7.3.200.0090.00916.34
7.3.190.0060.01316.30
7.3.180.0090.00916.59
7.3.170.0090.00916.61
7.3.160.0140.00616.26
7.2.330.0110.01116.73
7.2.320.0170.00716.82
7.2.310.0090.00916.52
7.2.300.0070.01116.82
7.2.290.0090.01216.58
7.2.60.0070.00716.79
7.2.00.0000.01419.61
7.1.200.0100.00715.84
7.1.100.0060.00617.96
7.1.70.0030.00917.09
7.1.60.0030.02419.48
7.1.50.0000.01216.99
7.1.00.0100.07322.70
7.0.200.0110.01115.05
7.0.60.0070.07319.85
7.0.50.0130.07717.97
7.0.40.0170.08020.20
7.0.30.0170.07320.26
7.0.20.0400.07720.33
7.0.10.0100.08720.25
7.0.00.0100.04720.20
5.6.280.0100.05721.24
5.6.210.0070.07020.71
5.6.200.0030.04318.37
5.6.190.0070.08720.77
5.6.180.0330.08020.79
5.6.170.0270.08720.65
5.6.160.0100.03720.73
5.6.150.0130.08018.30
5.6.140.0070.08018.29
5.6.130.0070.08018.28
5.6.120.0070.04721.23
5.6.110.0130.07321.28
5.6.100.0030.04721.13
5.6.90.0070.08321.09
5.6.80.0030.06020.57
5.5.350.4230.03320.39
5.5.340.0130.03718.05
5.5.330.0030.08720.37
5.5.320.0000.06020.44
5.5.310.0270.03720.45
5.5.300.0070.06318.13
5.5.290.0070.08018.11
5.5.280.0000.04721.00
5.5.270.0030.08021.02
5.5.260.0130.07020.92
5.5.250.0130.07720.80
5.5.240.0330.04720.16

preferences:
64.43 ms | 401 KiB | 5 Q