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])/', '', $s); var_dump($s); } 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.0120.00618.38
8.3.50.0100.01021.21
8.3.40.0060.01218.84
8.3.30.0040.01120.39
8.3.20.0000.00820.28
8.3.10.0050.00322.04
8.3.00.0000.00822.40
8.2.180.0060.01316.60
8.2.170.0100.01022.96
8.2.160.0070.00722.23
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0090.00620.90
8.2.110.0060.00322.38
8.2.100.0040.00817.91
8.2.90.0060.00319.19
8.2.80.0050.00319.39
8.2.70.0050.00517.88
8.2.60.0000.00818.04
8.2.50.0030.00618.07
8.2.40.0050.00318.28
8.2.30.0040.00419.60
8.2.20.0030.00517.96
8.2.10.0000.00717.99
8.2.00.0070.00417.86
8.1.280.0070.00725.92
8.1.270.0030.00623.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00423.84
8.1.230.0090.00319.08
8.1.220.0050.00317.91
8.1.210.0050.00318.77
8.1.200.0070.00317.48
8.1.190.0080.00017.68
8.1.180.0040.00418.10
8.1.170.0060.00318.91
8.1.160.0020.00519.04
8.1.150.0040.00418.85
8.1.140.0030.00617.68
8.1.130.0040.00417.88
8.1.120.0040.00417.60
8.1.110.0080.00017.75
8.1.100.0040.00417.60
8.1.90.0040.00417.59
8.1.80.0030.00317.61
8.1.70.0040.00417.59
8.1.60.0030.00517.72
8.1.50.0040.00417.82
8.1.40.0040.00417.78
8.1.30.0060.00317.80
8.1.20.0000.00917.81
8.1.10.0040.00417.65
8.1.00.0000.00717.71
8.0.300.0060.00318.77
8.0.290.0080.00017.17
8.0.280.0030.00318.48
8.0.270.0000.00817.36
8.0.260.0030.00618.62
8.0.250.0030.00317.13
8.0.240.0000.00817.16
8.0.230.0000.00717.21
8.0.220.0040.00417.02
8.0.210.0040.00417.10
8.0.200.0000.00617.16
8.0.190.0020.00517.20
8.0.180.0000.00717.11
8.0.170.0000.00817.12
8.0.160.0000.00717.07
8.0.150.0040.00417.14
8.0.140.0020.00517.03
8.0.130.0050.00013.63
8.0.120.0000.00817.13
8.0.110.0000.00817.04
8.0.100.0030.00517.18
8.0.90.0050.00316.97
8.0.80.0060.01317.16
8.0.70.0000.00817.08
8.0.60.0000.00717.20
8.0.50.0000.00717.16
8.0.30.0110.00817.30
8.0.20.0130.00817.46
8.0.10.0040.00417.07
8.0.00.0130.01017.00
7.4.330.0030.00315.05
7.4.320.0000.00616.75
7.4.300.0050.00216.88
7.4.290.0000.00716.81
7.4.280.0000.00716.90
7.4.270.0020.00516.80
7.4.260.0050.00013.57
7.4.250.0040.00416.78
7.4.240.0000.00716.81
7.4.230.0000.00716.83
7.4.220.0170.00716.77
7.4.210.0050.01016.94
7.4.200.0030.00516.65
7.4.190.0000.00716.70
7.4.160.0100.00716.55
7.4.150.0110.00817.40
7.4.140.0120.00817.86
7.4.130.0130.00916.78
7.4.120.0100.00616.70
7.4.110.0030.01316.79
7.4.100.0130.00416.64
7.4.90.0150.00416.64
7.4.80.0110.00719.39
7.4.70.0080.00816.64
7.4.60.0100.01116.80
7.4.50.0030.00516.66
7.4.40.0070.01022.77
7.4.30.0140.00416.84
7.4.00.0060.00915.05
7.3.330.0030.00313.42
7.3.320.0020.00213.41
7.3.310.0070.00016.50
7.3.300.0000.00716.50
7.3.290.0070.00716.42
7.3.280.0060.01116.52
7.3.270.0060.01117.40
7.3.260.0070.01716.45
7.3.250.0120.00516.75
7.3.240.0100.00716.62
7.3.230.0110.01216.51
7.3.210.0120.00416.64
7.3.200.0080.01219.39
7.3.190.0140.00716.47
7.3.180.0060.01016.77
7.3.170.0060.01016.39
7.3.160.0030.01316.73
7.3.120.0070.01015.18
7.2.330.0110.00616.80
7.2.320.0040.01616.68
7.2.310.0030.01916.84
7.2.300.0140.00316.78
7.2.290.0070.01016.83
7.2.60.0000.01217.10
7.2.00.0040.01519.39
7.1.200.0030.00916.02
7.1.100.0000.01217.92
7.1.70.0000.00717.08
7.1.60.0110.01419.18
7.1.50.0060.00917.21
7.1.00.0070.07322.59
7.0.200.0030.00616.88
7.0.140.0030.06721.95
7.0.100.0000.09320.00
7.0.90.0100.08720.13
7.0.80.0230.08319.89
7.0.70.0330.05719.87
7.0.60.0100.08019.89
7.0.50.0300.06320.27
7.0.40.0130.07720.09
7.0.30.0100.07720.04
7.0.20.0130.07020.07
7.0.10.0300.03720.05
7.0.00.0070.05320.12
5.6.280.0070.07021.10
5.6.250.0030.07720.54
5.6.240.0030.07020.46
5.6.230.0070.08020.45
5.6.220.0130.07320.66
5.6.210.0170.04320.51
5.6.200.0200.06020.97
5.6.190.0100.08320.96
5.6.180.0230.06721.04
5.6.170.0100.05021.06
5.6.160.0000.08321.06
5.6.150.0100.06721.09
5.6.140.0100.08321.00
5.6.130.0130.07021.00
5.6.120.0070.08320.91
5.6.110.0100.08021.01
5.6.100.0070.05021.06
5.6.90.0030.08320.85
5.6.80.0000.08720.41
5.6.70.0100.07320.39
5.6.60.0000.08020.29
5.6.50.0070.07720.39
5.6.40.0130.07020.45
5.6.30.0030.05020.28
5.6.20.0070.06020.33
5.6.10.0100.04020.24
5.6.00.0000.06320.46
5.5.380.0100.08020.32
5.5.370.0130.07320.30
5.5.360.0000.06720.32
5.5.350.0070.05720.35
5.5.340.0130.05320.88
5.5.330.0100.07320.60
5.5.320.0130.08020.83
5.5.310.0100.07720.86
5.5.300.0200.07320.79
5.5.290.0130.08320.71
5.5.280.0030.04320.85
5.5.270.0170.07020.80
5.5.260.0100.08320.74
5.5.250.0200.07020.40
5.5.240.0100.09020.11
5.5.230.0100.03720.20
5.5.220.0100.05020.26
5.5.210.0130.07020.15
5.5.200.0070.07020.18
5.5.190.0170.06320.18
5.5.180.0070.05020.04
5.5.160.0130.07020.18
5.5.150.0130.04320.20
5.5.140.0130.08320.21
5.5.130.0170.03320.08
5.5.120.0070.04720.19
5.5.110.0070.07020.16
5.5.100.0100.04719.91
5.5.90.0170.06720.00
5.5.80.0030.08320.02
5.5.70.0170.07020.10
5.5.60.0070.06019.89
5.5.50.0100.05720.11
5.5.40.0030.04720.01
5.5.30.0100.04020.04
5.5.20.0100.04320.09
5.5.10.0030.08319.93
5.5.00.0100.04719.92
5.4.450.0030.08319.30
5.4.440.0030.07019.27
5.4.430.0070.07719.35
5.4.420.0100.07719.30
5.4.410.0030.08319.24
5.4.400.0070.07719.11
5.4.390.0100.05318.89
5.4.380.0030.04318.90
5.4.370.0030.05018.90
5.4.360.0070.04718.98
5.4.350.0070.07318.98
5.4.340.0070.03719.12
5.4.320.0070.07019.03
5.4.310.0170.06719.13
5.4.300.0170.05719.12
5.4.290.0030.08018.79
5.4.280.0070.07719.03
5.4.270.0170.03318.94
5.4.260.0170.06019.13
5.4.250.0100.06719.17
5.4.240.0130.06319.14
5.4.230.0100.07318.89
5.4.220.0070.06719.02
5.4.210.0030.04719.13
5.4.200.0170.07019.02
5.4.190.0100.07019.05
5.4.180.0100.06018.89
5.4.170.0030.05719.11
5.4.160.0130.07318.79
5.4.150.0070.04019.04
5.4.140.0100.06716.23
5.4.130.0030.06316.27
5.4.120.0100.06716.33
5.4.110.0100.07016.33
5.4.100.0030.05016.45
5.4.90.0070.07316.42
5.4.80.0070.04016.21
5.4.70.0070.06316.29
5.4.60.0070.06716.40
5.4.50.0070.04016.42
5.4.40.0130.06716.24
5.4.30.0130.03316.30
5.4.20.0030.06016.39
5.4.10.0070.07016.18
5.4.00.0070.08015.76
5.3.290.0100.07314.52
5.3.280.0070.07314.57
5.3.270.0100.07014.57
5.3.260.0130.06714.60
5.3.250.0100.05714.61
5.3.240.0030.07714.61
5.3.230.0030.04314.45
5.3.220.0070.07314.56
5.3.210.0100.04314.43
5.3.200.0170.07014.52
5.3.190.0070.04714.43
5.3.180.0070.06714.39
5.3.170.0100.07014.51
5.3.160.0070.06014.56
5.3.150.0130.06714.53
5.3.140.0000.08714.46
5.3.130.0030.08314.51
5.3.120.0030.07014.46
5.3.110.0030.06014.39
5.3.100.0100.07713.89
5.3.90.0070.07313.96
5.3.80.0130.07013.88
5.3.70.0130.07013.80
5.3.60.0030.07313.97
5.3.50.0070.03713.91
5.3.40.0070.07313.91
5.3.30.0030.07313.85
5.3.20.0130.05713.65
5.3.10.0130.06313.62
5.3.00.0070.06313.42
5.2.170.0070.05711.13
5.2.160.0070.06011.10
5.2.150.0000.06711.16
5.2.140.0000.07010.89
5.2.130.0000.06310.96
5.2.120.0000.06711.09
5.2.110.0070.05310.89
5.2.100.0070.03311.10
5.2.90.0100.06711.10
5.2.80.0070.05311.16
5.2.70.0030.06311.16
5.2.60.0030.06311.09
5.2.50.0130.05311.04
5.2.40.0030.05310.99
5.2.30.0000.06010.94
5.2.20.0070.05310.76
5.2.10.0070.05010.88
5.2.00.0070.05710.77
5.1.60.0030.03010.02
5.1.50.0070.03310.07
5.1.40.0070.03010.06
5.1.30.0030.05710.38
5.1.20.0070.03010.37
5.1.10.0100.05010.09
5.1.00.0000.0609.89
5.0.50.0070.0439.78
5.0.40.0100.0239.78
5.0.30.0000.0309.78
5.0.20.0070.0409.78
5.0.10.0070.0239.78
5.0.00.0030.0509.78
4.4.90.0030.0139.78
4.4.80.0000.0379.78
4.4.70.0070.0279.78
4.4.60.0070.0279.78
4.4.50.0000.0379.78
4.4.40.0000.0379.78
4.4.30.0100.0109.78
4.4.20.0000.0409.78
4.4.10.0000.0209.78
4.4.00.0030.0539.78
4.3.110.0000.0239.78
4.3.100.0000.0279.78
4.3.90.0030.0339.78
4.3.80.0070.0539.78
4.3.70.0030.0309.78
4.3.60.0030.0279.78
4.3.50.0030.0339.78
4.3.40.0030.0539.78
4.3.30.0000.0379.78
4.3.20.0000.0179.78
4.3.10.0030.0339.78
4.3.00.0000.0339.78

preferences:
46.42 ms | 401 KiB | 5 Q