3v4l.org

run code in 300+ PHP versions simultaneously
<?php // \u0130 $s = 'u\'ZENG\u0130N OL YADA U\u011eRUNDA \xd6L\''; if ( substr($s, 0, 2) == 'u\'' && substr($s, -1) == '\'' ) { $s = substr($s, 2, strlen($s) - 3); $s = preg_replace('/\\\\u([0-9a-f][0-9a-f][0-9a-f][0-9a-f])/', '&#x\1;', $s); var_dump($s); var_dump(mb_convert_encoding($s, 'UTF-8', 'HTML-ENTITIES') ); } else { die('gestorben wegen: ' . $s); } var_dump(mb_convert_encoding('&#x0130;', 'UTF-8', 'HTML-ENTITIES') );

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.0130.00318.20
8.3.50.0220.00622.05
8.3.40.0070.01118.93
8.3.30.0070.00720.30
8.3.20.0050.00320.16
8.3.10.0040.00422.13
8.3.00.0050.00322.52
8.2.180.0120.00916.75
8.2.170.0140.00022.96
8.2.160.0000.01322.24
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0110.00420.95
8.2.110.0100.00022.37
8.2.100.0120.00017.91
8.2.90.0060.00319.35
8.2.80.0000.00819.28
8.2.70.0040.00417.88
8.2.60.0000.00818.05
8.2.50.0040.00418.07
8.2.40.0090.00018.15
8.2.30.0050.00319.48
8.2.20.0050.00217.87
8.2.10.0000.00717.95
8.2.00.0110.00017.82
8.1.280.0100.00325.92
8.1.270.0050.00323.99
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0140.00723.71
8.1.230.0090.00321.04
8.1.220.0000.00817.78
8.1.210.0030.00518.77
8.1.200.0100.00017.60
8.1.190.0030.00517.63
8.1.180.0080.00018.10
8.1.170.0040.00418.82
8.1.160.0040.00418.84
8.1.150.0030.00618.91
8.1.140.0030.00617.60
8.1.130.0000.00717.90
8.1.120.0040.00417.61
8.1.110.0040.00417.55
8.1.100.0000.00717.65
8.1.90.0050.00217.61
8.1.80.0070.00017.73
8.1.70.0080.00017.52
8.1.60.0030.00517.73
8.1.50.0040.00417.73
8.1.40.0040.00417.69
8.1.30.0040.00417.73
8.1.20.0000.00917.82
8.1.10.0000.00717.56
8.1.00.0080.00017.57
8.0.300.0000.00818.77
8.0.290.0070.00017.05
8.0.280.0080.00018.54
8.0.270.0030.00317.25
8.0.260.0000.00716.96
8.0.250.0030.00517.04
8.0.240.0040.00417.18
8.0.230.0080.00017.20
8.0.220.0040.00417.14
8.0.210.0000.00717.16
8.0.200.0030.00317.16
8.0.190.0030.00617.15
8.0.180.0040.00417.02
8.0.170.0030.00517.03
8.0.160.0030.00317.04
8.0.150.0050.00217.10
8.0.140.0060.00316.99
8.0.130.0030.00313.48
8.0.120.0030.00517.07
8.0.110.0070.00017.17
8.0.100.0080.00017.16
8.0.90.0070.00017.13
8.0.80.0070.01017.05
8.0.70.0000.00717.13
8.0.60.0040.00416.98
8.0.50.0040.00417.05
8.0.30.0080.01317.14
8.0.20.0120.00817.40
8.0.10.0040.00417.22
8.0.00.0050.01716.98
7.4.330.0000.00515.06
7.4.320.0030.00316.67
7.4.300.0030.00316.78
7.4.290.0000.00716.92
7.4.280.0000.00716.79
7.4.270.0040.00416.79
7.4.260.0000.00613.52
7.4.250.0080.00016.82
7.4.240.0020.00516.79
7.4.230.0070.00016.71
7.4.220.0100.01616.94
7.4.210.0070.00816.80
7.4.200.0000.00716.76
7.4.190.0000.00816.95
7.4.160.0060.00916.82
7.4.150.0130.00417.40
7.4.140.0150.00617.86
7.4.130.0140.00516.87
7.4.120.0100.00616.59
7.4.110.0070.01016.86
7.4.100.0150.00616.70
7.4.90.0150.00416.48
7.4.80.0060.01219.39
7.4.70.0140.00316.83
7.4.60.0060.01216.83
7.4.50.0040.00416.81
7.4.40.0040.00822.77
7.4.30.0080.00816.80
7.4.00.0110.00415.45
7.3.330.0050.00013.37
7.3.320.0000.00513.31
7.3.310.0030.00316.55
7.3.300.0030.00316.48
7.3.290.0130.00016.50
7.3.280.0090.00716.46
7.3.270.0150.00417.40
7.3.260.0070.01016.52
7.3.250.0130.00516.53
7.3.240.0130.00316.73
7.3.230.0090.00916.59
7.3.210.0090.00616.64
7.3.200.0190.00319.39
7.3.190.0090.00916.48
7.3.180.0050.01416.70
7.3.170.0000.01616.79
7.3.160.0080.01316.64
7.3.120.0000.01314.69
7.2.330.0110.00716.85
7.2.320.0120.00816.90
7.2.310.0110.00616.78
7.2.300.0060.01216.72
7.2.290.0120.00416.79
7.2.60.0070.00717.03
7.1.200.0030.01015.99
7.1.100.0030.01018.29
7.1.70.0000.00717.32
7.1.60.0120.01219.18
7.1.50.0140.01017.21
7.1.00.0030.03322.38
7.0.200.0040.00416.68
7.0.140.0030.07322.12
7.0.100.0130.08019.97
7.0.90.0030.08320.17
7.0.80.0070.08019.94
7.0.70.0030.08719.91
7.0.60.0030.08020.02
7.0.50.0070.08020.34
7.0.40.0170.07020.13
7.0.30.0070.04720.11
7.0.20.0070.04720.00
7.0.10.0130.06320.04
7.0.00.0030.07720.18
5.6.280.0130.06020.99
5.6.250.0170.07320.62
5.6.240.0130.04720.63
5.6.230.0200.07320.53
5.6.220.0100.07720.67
5.6.210.0100.06020.67
5.6.200.0070.08321.02
5.6.190.0100.08021.08
5.6.180.0070.04720.96
5.6.170.0100.08021.01
5.6.160.0100.03721.04
5.6.150.0100.03720.91
5.6.140.0130.04321.01
5.6.130.0200.06721.07
5.6.120.0070.08021.11
5.6.110.0070.08721.03
5.6.100.0100.07321.00
5.6.90.0030.08020.93
5.6.80.0100.08320.34
5.6.70.0000.08320.35
5.6.60.0000.05320.38
5.6.50.0100.07320.43
5.6.40.0070.08020.48
5.6.30.0130.04020.38
5.6.20.0030.08020.46
5.6.10.0130.06020.30
5.6.00.0100.08020.37
5.5.380.0070.08320.45
5.5.370.0100.07720.54
5.5.360.0100.07720.34
5.5.350.0070.05020.42
5.5.340.0170.07320.86
5.5.330.0230.05720.89
5.5.320.0100.07720.93
5.5.310.0030.08320.82
5.5.300.0100.08020.88
5.5.290.0030.09020.72
5.5.280.0070.08720.90
5.5.270.0200.07320.80
5.5.260.0070.08720.82
5.5.250.0100.07720.72
5.5.240.0070.08020.23
5.5.230.0030.04320.25
5.5.220.0100.04020.20
5.5.210.0200.06720.29
5.5.200.0130.07320.12
5.5.190.0070.08320.21
5.5.180.0100.07020.14
5.5.160.0000.05720.14
5.5.150.0070.07720.24
5.5.140.0100.06319.98
5.5.130.0070.07719.98
5.5.120.0030.08320.20
5.5.110.0170.07320.09
5.5.100.0070.04720.08
5.5.90.0100.06719.92
5.5.80.0100.07020.00
5.5.70.0070.07319.96
5.5.60.0100.06720.05
5.5.50.0100.08020.11
5.5.40.0130.07020.14
5.5.30.0100.07020.07
5.5.20.0070.07020.05
5.5.10.0100.03320.07
5.5.00.0000.08019.96
5.4.450.0070.07019.44
5.4.440.0100.08019.36
5.4.430.0100.07319.35
5.4.420.0030.08019.55
5.4.410.0130.07019.27
5.4.400.0000.06719.03
5.4.390.0100.07319.03
5.4.380.0000.08018.98
5.4.370.0130.03719.03
5.4.360.0070.08018.81
5.4.350.0130.06718.98
5.4.340.0130.03719.03
5.4.320.0030.07718.90
5.4.310.0100.07019.03
5.4.300.0130.03719.05
5.4.290.0030.05018.82
5.4.280.0070.05719.09
5.4.270.0130.03019.12
5.4.260.0070.04718.98
5.4.250.0070.04719.09
5.4.240.0070.05019.22
5.4.230.0070.07718.97
5.4.220.0070.07019.26
5.4.210.0070.07019.02
5.4.200.0170.03319.11
5.4.190.0070.08019.11
5.4.180.0100.04019.07
5.4.170.0100.06719.06
5.4.160.0100.04318.92
5.4.150.0100.08019.02
5.4.140.0000.08316.29
5.4.130.0100.05716.28
5.4.120.0100.07016.12
5.4.110.0000.06316.23
5.4.100.0100.06316.26
5.4.90.0130.07016.43
5.4.80.0070.07316.22
5.4.70.0070.07716.19
5.4.60.0100.07016.36
5.4.50.0130.06716.28
5.4.40.0030.04716.26
5.4.30.0030.07316.35
5.4.20.0070.05716.29
5.4.10.0100.07016.32
5.4.00.0070.06715.79
5.3.290.0130.07015.73
5.3.280.0000.06315.73
5.3.270.0070.03715.73
5.3.260.0030.05015.73
5.3.250.0130.07315.73
5.3.240.0070.07315.73
5.3.230.0130.06315.73
5.3.220.0130.03715.73
5.3.210.0000.05015.73
5.3.200.0070.05315.73
5.3.190.0070.06715.73
5.3.180.0130.05715.73
5.3.170.0000.08015.73
5.3.160.0100.07315.73
5.3.150.0100.05715.73
5.3.140.0130.07015.73
5.3.130.0100.07315.73
5.3.120.0100.08015.73
5.3.110.0000.07315.73
5.3.100.0030.07315.73
5.3.90.0000.08015.73
5.3.80.0070.05715.73
5.3.70.0030.07715.73
5.3.60.0130.07015.73
5.3.50.0030.06315.73
5.3.40.0070.08015.73
5.3.30.0030.07315.73
5.3.20.0070.04015.73
5.3.10.0000.05015.73
5.3.00.0000.08015.73
5.2.170.0030.05015.73
5.2.160.0030.06315.73
5.2.150.0100.04715.73
5.2.140.0000.05715.73
5.2.130.0030.03315.73
5.2.120.0000.06715.73
5.2.110.0070.05715.73
5.2.100.0100.04715.73
5.2.90.0030.06015.73
5.2.80.0000.03715.73
5.2.70.0030.03315.73
5.2.60.0130.02015.73
5.2.50.0000.03015.73
5.2.40.0030.03015.73
5.2.30.0100.04015.73
5.2.20.0030.02715.73
5.2.10.0030.02715.73
5.2.00.0000.04015.73
5.1.60.0070.02315.73
5.1.50.0030.02315.73
5.1.40.0000.02715.73
5.1.30.0000.02715.73
5.1.20.0000.02715.73
5.1.10.0030.05015.73
5.1.00.0030.02315.73
5.0.50.0030.01715.73
5.0.40.0000.02015.73
5.0.30.0070.03015.73
5.0.20.0000.02315.73
5.0.10.0070.02315.73
5.0.00.0070.02315.73
4.4.90.0000.02015.73
4.4.80.0030.03315.73
4.4.70.0030.01315.73
4.4.60.0000.01715.73
4.4.50.0070.01315.73
4.4.40.0070.03015.73
4.4.30.0000.01715.73
4.4.20.0030.01315.73
4.4.10.0000.01715.73
4.4.00.0000.02715.73
4.3.110.0030.01315.73
4.3.100.0030.01315.73
4.3.90.0000.03715.73
4.3.80.0000.02315.73
4.3.70.0030.01315.73
4.3.60.0070.02715.73
4.3.50.0000.01315.73
4.3.40.0030.05715.73
4.3.30.0030.03015.73
4.3.20.0000.02015.73
4.3.10.0000.02015.73
4.3.00.0000.01715.73

preferences:
52.38 ms | 400 KiB | 5 Q