3v4l.org

run code in 300+ PHP versions simultaneously
<?php function Unaccent($string) { if (strpos($string = htmlentities($string, ENT_QUOTES, 'UTF-8'), '&') !== false) { $string = html_entity_decode(preg_replace('~&([a-z]{1,2})(?:acute|cedil|circ|grave|lig|orn|ring|slash|tilde|uml);~i', '$1', $string), ENT_QUOTES, 'UTF-8'); } return $string; } echo Unaccent('Šíleně žluťoučký Vašek úpěl olol! This will remain untranslated: ᾡᾧῘઍિ૮');

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.00718.65
8.3.50.0130.00316.76
8.3.40.0180.00319.09
8.3.30.0150.00018.79
8.3.20.0050.00220.28
8.3.10.0050.00321.87
8.3.00.0000.01119.80
8.2.180.0110.01116.75
8.2.170.0110.00422.96
8.2.160.0070.00719.21
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0060.00319.19
8.2.120.0000.00726.35
8.2.110.0100.00020.39
8.2.100.0120.00018.03
8.2.90.0080.00019.13
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0050.00317.93
8.2.50.0030.00518.10
8.2.40.0040.00420.47
8.2.30.0080.00021.11
8.2.20.0030.00618.15
8.2.10.0030.00618.08
8.2.00.0000.00717.85
8.1.280.0110.00425.92
8.1.270.0040.00423.91
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00322.14
8.1.230.0040.00817.77
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0050.00317.13
8.1.180.0040.00418.10
8.1.170.0030.00518.80
8.1.160.0040.00419.05
8.1.150.0050.00320.55
8.1.140.0040.00419.65
8.1.130.0040.00418.86
8.1.120.0000.00717.52
8.1.110.0060.00317.43
8.1.100.0040.00417.61
8.1.90.0000.00817.57
8.1.80.0070.00017.46
8.1.70.0040.00417.52
8.1.60.0000.00817.79
8.1.50.0000.00817.71
8.1.40.0040.00817.66
8.1.30.0000.00917.83
8.1.20.0080.00017.73
8.1.10.0050.00317.70
8.1.00.0060.00317.61
8.0.300.0040.00419.86
8.0.290.0040.00416.88
8.0.280.0070.00018.38
8.0.270.0030.00317.32
8.0.260.0030.00316.92
8.0.250.0000.00717.04
8.0.240.0000.00717.09
8.0.230.0000.00717.03
8.0.220.0000.00716.93
8.0.210.0040.00316.95
8.0.200.0000.00616.98
8.0.190.0050.00517.11
8.0.180.0040.00416.90
8.0.170.0040.00417.01
8.0.160.0040.00417.01
8.0.150.0000.00716.99
8.0.140.0000.00716.88
8.0.130.0050.00013.41
8.0.120.0000.00816.83
8.0.110.0050.00216.95
8.0.100.0080.00017.00
8.0.90.0000.00716.88
8.0.80.0090.00616.95
8.0.70.0000.00716.89
8.0.60.0000.00816.96
8.0.50.0080.00016.93
8.0.30.0080.00917.13
8.0.20.0130.01317.40
8.0.10.0050.00317.05
8.0.00.0070.01016.77
7.4.330.0000.00515.55
7.4.320.0060.00016.84
7.4.300.0030.00316.81
7.4.290.0030.00616.70
7.4.280.0000.00716.75
7.4.270.0000.00716.64
7.4.260.0030.00316.80
7.4.250.0000.00716.60
7.4.240.0030.00516.82
7.4.230.0000.00816.80
7.4.220.0140.01116.80
7.4.210.0060.00916.70
7.4.200.0000.00816.88
7.4.160.0080.00816.68
7.4.150.0090.01817.40
7.4.140.0070.01017.86
7.4.130.0120.01216.96
7.4.120.0120.01316.76
7.4.110.0100.00716.57
7.4.100.0150.00616.61
7.4.90.0080.01016.52
7.4.80.0120.00319.39
7.4.70.0070.01016.73
7.4.60.0100.00716.82
7.4.50.0000.01416.68
7.4.40.0100.00616.68
7.4.30.0090.00916.76
7.4.10.0070.01115.13
7.4.00.0050.01115.01
7.3.330.0070.00013.29
7.3.320.0030.00313.36
7.3.310.0070.00016.21
7.3.300.0030.00316.26
7.3.290.0080.00616.38
7.3.280.0110.00616.35
7.3.270.0080.02017.40
7.3.260.0110.00616.48
7.3.250.0140.00716.43
7.3.240.0100.00716.58
7.3.230.0120.01216.73
7.3.210.0100.00616.50
7.3.200.0080.00816.66
7.3.190.0160.00016.50
7.3.180.0120.00416.46
7.3.170.0000.01716.44
7.3.160.0060.01616.80
7.3.130.0090.00915.23
7.3.120.0080.00814.92
7.3.110.0070.01015.03
7.3.100.0050.00814.75
7.3.90.0020.01214.91
7.3.80.0050.00715.07
7.3.70.0050.00714.93
7.3.60.0040.00914.90
7.3.50.0050.00514.92
7.3.40.0050.01014.87
7.3.30.0020.01214.87
7.3.20.0060.00716.88
7.3.10.0070.00616.73
7.3.00.0050.00816.60
7.2.330.0100.01016.63
7.2.320.0060.01216.82
7.2.310.0060.01016.79
7.2.300.0070.01116.80
7.2.290.0150.01016.89
7.2.260.0150.00415.02
7.2.250.0130.00615.16
7.2.240.0060.01015.15
7.2.230.0080.00815.14
7.2.220.0020.01215.08
7.2.210.0060.00915.10
7.2.200.0030.00815.03
7.2.190.0040.00814.98
7.2.180.0070.00815.07
7.2.170.0060.00815.16
7.2.160.0090.00415.02
7.2.150.0030.01116.72
7.2.140.0100.00317.05
7.2.130.0050.00717.04
7.2.120.0020.00917.00
7.2.110.0020.01417.20
7.2.100.0050.00817.08
7.2.90.0090.00816.32
7.2.80.0060.00916.25
7.2.70.0120.00616.37
7.2.60.0090.01116.27
7.2.50.0110.01016.52
7.2.40.0100.00616.38
7.2.30.0030.01216.34
7.2.20.0060.00916.42
7.2.10.0080.00816.37
7.2.00.0040.01016.31
7.1.330.0070.00715.99
7.1.320.0070.00715.76
7.1.310.0030.01116.01
7.1.300.0080.00415.76
7.1.290.0060.00915.79
7.1.280.0040.00915.94
7.1.270.0040.00615.89
7.1.260.0080.00516.06
7.1.250.0060.00515.75
7.1.240.0110.00315.85
7.1.230.0090.00315.64
7.1.220.0080.00415.66
7.1.210.0120.00714.99
7.1.200.0940.00514.94
7.1.190.0080.00715.02
7.1.180.0100.00615.11
7.1.170.0080.00914.95
7.1.160.0070.00614.99
7.1.150.0100.00714.82
7.1.140.0100.00515.05
7.1.130.0080.00615.05
7.1.120.0050.01214.85
7.1.110.0100.00514.89
7.1.100.0120.00815.06
7.1.90.0100.00315.09
7.1.80.0080.00715.08
7.1.70.0240.00514.96
7.1.60.0170.01324.05
7.1.50.0190.00323.99
7.1.40.0130.00824.04
7.1.30.0420.00924.04
7.1.20.0170.00923.96
7.1.10.0100.00714.90
7.1.00.0670.01115.01
7.0.330.0040.00815.21
7.0.320.0040.00715.26
7.0.310.0080.00514.45
7.0.300.0080.00614.34
7.0.290.0100.01014.74
7.0.280.0050.00814.44
7.0.270.0100.00514.57
7.0.260.0100.00314.34
7.0.250.0080.00614.43
7.0.240.0060.00814.65
7.0.230.0090.00614.59
7.0.220.0120.00914.60
7.0.210.0080.00514.77
7.0.200.0080.00714.58
7.0.190.0070.00614.76
7.0.180.0100.00214.48
7.0.170.0080.00814.62
7.0.160.0110.00414.56
7.0.150.0080.01114.37
7.0.140.0040.00814.51
7.0.130.0090.00614.47
7.0.120.0140.00314.66
7.0.110.0080.00614.69
7.0.100.0090.00614.70
7.0.90.0100.00314.53
7.0.80.0060.00814.66
7.0.70.0170.00214.53
7.0.60.0210.00914.70
7.0.50.0110.00514.70
7.0.40.0190.00813.68
7.0.30.0120.01013.73
7.0.20.0060.00813.54
7.0.10.0090.00313.57
7.0.00.0090.00813.68
5.6.400.0000.00914.64
5.6.390.0030.00714.54
5.6.380.0070.01014.61
5.6.370.0060.00614.37
5.6.360.0110.00314.26
5.6.350.0000.01414.68
5.6.340.0070.00714.59
5.6.330.0060.00914.55
5.6.320.0030.00614.46
5.6.310.0110.00414.61
5.6.300.0060.00614.59
5.6.290.0040.00714.58
5.6.280.0000.01414.43
5.6.270.0090.00614.31
5.6.260.0060.00914.16
5.6.250.0070.00714.27
5.6.240.0140.00014.38
5.6.230.0100.00014.41
5.6.220.0000.01314.33
5.6.210.0030.00714.45
5.6.200.0060.00914.06
5.6.190.0130.00014.35
5.6.180.0030.01414.20
5.6.170.0120.00414.27
5.6.160.0000.00814.55
5.6.150.0030.00714.50
5.6.140.0040.00814.48
5.6.130.0110.00014.28
5.6.120.0040.00814.07
5.6.110.0030.01314.19
5.6.100.0040.01114.38
5.6.90.0110.00414.14
5.6.80.0090.00614.26
5.6.70.0070.00314.01
5.6.60.0090.00314.23
5.6.50.0070.00314.06
5.6.40.0000.01114.27
5.6.30.0000.01314.21
5.6.20.0030.01014.10
5.6.10.0070.00714.07
5.6.00.0060.00614.15

preferences:
44.42 ms | 401 KiB | 5 Q