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]{4})/', '', $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.0090.00618.53
8.3.50.0110.00421.08
8.3.40.0180.00418.79
8.3.30.0140.00020.13
8.3.20.0000.00722.09
8.3.10.0030.00522.13
8.3.00.0040.00422.52
8.2.180.0140.00418.16
8.2.170.0070.01022.96
8.2.160.0090.00322.17
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0120.00620.75
8.2.110.0060.00322.16
8.2.100.0040.00717.78
8.2.90.0040.00419.17
8.2.80.0040.00419.40
8.2.70.0030.00617.75
8.2.60.0090.00017.93
8.2.50.0000.00918.07
8.2.40.0040.00418.28
8.2.30.0000.00819.39
8.2.20.0000.00717.79
8.2.10.0020.00517.96
8.2.00.0100.00017.81
8.1.280.0070.00725.92
8.1.270.0080.00023.99
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00023.68
8.1.230.0060.00618.89
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0100.00017.38
8.1.190.0040.00417.52
8.1.180.0090.00018.10
8.1.170.0040.00418.78
8.1.160.0000.00818.90
8.1.150.0050.00318.79
8.1.140.0000.00817.47
8.1.130.0030.00317.85
8.1.120.0040.00417.50
8.1.110.0070.00017.51
8.1.100.0000.00817.55
8.1.90.0030.00517.55
8.1.80.0030.00317.59
8.1.70.0030.00317.57
8.1.60.0000.00817.68
8.1.50.0040.00417.59
8.1.40.0080.00017.63
8.1.30.0000.00817.75
8.1.20.0070.00017.64
8.1.10.0040.00417.59
8.1.00.0030.00517.58
8.0.300.0040.00418.77
8.0.290.0030.00517.05
8.0.280.0030.00318.43
8.0.270.0030.00317.26
8.0.260.0000.00617.01
8.0.250.0040.00417.20
8.0.240.0080.00017.01
8.0.230.0030.00317.14
8.0.220.0070.00017.04
8.0.210.0000.00716.96
8.0.200.0020.00517.00
8.0.190.0040.00417.13
8.0.180.0040.00417.09
8.0.170.0040.00416.98
8.0.160.0000.00716.92
8.0.150.0000.00716.87
8.0.140.0050.00317.00
8.0.130.0030.00313.40
8.0.120.0040.00416.99
8.0.110.0040.00417.02
8.0.100.0070.00017.03
8.0.90.0040.00417.01
8.0.80.0040.01116.98
8.0.70.0040.00417.02
8.0.60.0000.00717.02
8.0.50.0040.00417.11
8.0.30.0090.01017.18
8.0.20.0090.01017.40
8.0.10.0080.00017.05
8.0.00.0100.00817.00
7.4.330.0000.00514.92
7.4.320.0000.00616.79
7.4.300.0000.00616.66
7.4.290.0030.00316.91
7.4.280.0000.00716.91
7.4.270.0030.00516.89
7.4.260.0050.00013.55
7.4.250.0030.00516.77
7.4.240.0030.00316.89
7.4.230.0040.00416.84
7.4.220.0100.01017.02
7.4.210.0100.00516.88
7.4.200.0070.00016.85
7.4.190.0000.00716.94
7.4.160.0060.01616.83
7.4.150.0100.01317.40
7.4.140.0120.00817.86
7.4.130.0110.00516.77
7.4.120.0090.00916.67
7.4.110.0090.00916.97
7.4.100.0070.01116.72
7.4.90.0120.01216.87
7.4.80.0050.01519.39
7.4.70.0040.01216.59
7.4.60.0070.01016.79
7.4.50.0020.00216.53
7.4.40.0040.01522.77
7.4.30.0100.00616.84
7.4.00.0070.00915.28
7.3.330.0050.00013.29
7.3.320.0050.00013.44
7.3.310.0070.00016.44
7.3.300.0000.00716.49
7.3.290.0100.00316.50
7.3.280.0060.01016.51
7.3.270.0100.00617.40
7.3.260.0080.00816.45
7.3.250.0110.00716.64
7.3.240.0070.01016.67
7.3.230.0070.01116.66
7.3.210.0030.01616.63
7.3.200.0110.00619.39
7.3.190.0090.00916.67
7.3.180.0070.01016.73
7.3.170.0110.00516.49
7.3.160.0140.00716.67
7.3.120.0050.01415.11
7.3.110.0100.01015.28
7.3.100.0040.01114.90
7.3.90.0060.00615.01
7.3.80.0000.00915.17
7.3.70.0070.00714.89
7.3.60.0110.00015.14
7.3.50.0030.01014.86
7.3.40.0060.00614.74
7.3.30.0070.00714.87
7.3.20.0070.00716.85
7.3.10.0040.00416.85
7.3.00.0060.00916.59
7.2.330.0090.00916.64
7.2.320.0060.01016.70
7.2.310.0110.00716.71
7.2.300.0100.00716.67
7.2.290.0160.00016.76
7.2.250.0090.00615.19
7.2.240.0090.00915.05
7.2.230.0030.01315.24
7.2.220.0060.00915.10
7.2.210.0090.00615.21
7.2.200.0090.00615.20
7.2.190.0030.01215.27
7.2.180.0000.00914.85
7.2.170.0090.00315.20
7.2.00.0060.01019.26
7.1.330.0030.01015.76
7.1.320.0040.01115.68
7.1.310.0040.00815.84
7.1.300.0100.00316.02
7.1.290.0030.00615.93
7.1.280.0000.01415.66
7.1.270.0070.01016.05
7.1.260.0030.00615.96
7.1.100.0060.00618.09
7.1.70.0000.00716.96
7.1.60.0160.00919.18
7.1.50.0100.01017.10
7.1.00.0070.07322.48
7.0.200.0090.00016.96
7.0.140.0070.07022.11
7.0.60.0100.08019.92
7.0.50.0030.04717.80
7.0.40.0070.07720.04
7.0.30.0130.06020.17
7.0.20.0370.07020.13
7.0.10.0000.07020.17
7.0.00.0070.04320.16
5.6.280.0100.07020.81
5.6.210.0100.07720.62
5.6.200.0200.07018.17
5.6.190.0130.03720.35
5.6.180.0330.04720.35
5.6.170.0270.07720.48
5.6.160.0130.07720.44
5.6.150.0130.07318.11
5.6.140.0100.07718.07
5.6.130.0130.07018.14
5.6.120.0130.06320.99
5.6.110.0030.08021.02
5.6.100.0070.03721.00
5.6.90.0100.08020.96
5.6.80.0030.03720.50
5.5.350.3100.04320.49
5.5.340.0030.07017.88
5.5.330.0070.04020.37
5.5.320.0470.06720.13
5.5.310.0270.03320.33
5.5.300.0100.07717.95
5.5.290.0070.08718.03
5.5.280.0070.04020.64
5.5.270.0100.07320.79
5.5.260.0070.07720.70
5.5.250.0070.08020.64
5.5.240.0070.06720.13
5.4.450.2770.04319.31
5.4.440.4100.04319.31
5.4.430.3870.03719.30
5.4.420.4070.03719.31
5.4.410.4270.03719.05
5.4.400.4200.03718.99
5.4.390.3170.03319.09
5.4.380.4230.03719.06
5.4.370.3930.03718.86
5.4.360.3570.04318.79
5.4.350.4370.03318.81
5.4.340.4230.04019.11
5.4.320.3900.03719.08
5.4.310.3670.04019.09
5.4.300.3830.03718.96
5.4.290.3570.04018.95
5.4.280.3330.04018.93
5.4.270.3800.04718.81
5.4.260.3770.03319.01
5.4.250.3670.03018.85
5.4.240.4370.02719.05
5.4.230.3630.04019.00
5.4.220.3700.02718.80
5.4.210.3600.05019.06
5.4.200.3600.03319.07
5.4.190.3230.04319.06
5.4.180.4470.04019.05
5.4.170.3800.03318.92
5.4.160.4470.04019.05
5.4.150.3930.03718.93
5.4.140.4200.03716.25
5.4.130.3930.03316.43
5.4.120.4400.03016.43
5.4.110.4030.03716.21
5.4.100.4330.03716.45
5.4.90.4270.03716.45
5.4.80.2500.03716.38
5.4.70.2870.03316.46
5.4.60.2570.03316.03
5.4.50.3270.03316.34
5.4.40.2730.03716.31
5.4.30.3100.04316.35
5.4.20.3100.03716.46
5.4.10.3370.04016.45
5.4.00.2200.04015.77
5.3.290.3930.04314.75
5.3.280.3570.04014.56
5.3.270.3870.04314.55
5.3.260.4230.04014.63
5.3.250.4000.03714.54
5.3.240.4070.03014.55
5.3.230.4200.03714.45
5.3.220.3670.03714.51
5.3.210.4000.03714.59
5.3.200.4230.04314.40
5.3.190.3630.03714.40
5.3.180.2770.04314.54
5.3.170.3000.03714.59
5.3.160.3200.03714.41
5.3.150.3300.04014.50
5.3.140.2570.03714.41
5.3.130.3000.03014.53
5.3.120.2900.03714.45
5.3.110.2430.03014.49
5.3.100.4100.03013.94
5.3.90.3270.03013.89
5.3.80.3500.03013.84
5.3.70.3470.03713.95
5.3.60.3230.03713.85
5.3.50.3270.03713.89
5.3.40.3670.03313.91
5.3.30.3970.03013.84
5.3.20.3700.03713.63
5.3.10.3630.03313.43
5.3.00.3500.03313.41
5.2.170.3230.02711.08
5.2.160.3100.03010.98
5.2.150.3500.02711.16
5.2.140.2430.03711.29
5.2.130.2930.03311.11
5.2.120.3130.02711.20
5.2.110.2770.03310.93
5.2.100.3230.02711.15
5.2.90.3670.03710.96
5.2.80.3630.02711.03
5.2.70.3430.02710.96
5.2.60.3570.03010.88
5.2.50.3670.02710.86
5.2.40.3070.02710.93
5.2.30.2930.03310.93
5.2.20.2600.03010.81
5.2.10.2500.03010.88
5.2.00.2330.03310.57
5.1.60.2300.0279.88
5.1.50.2230.02010.15
5.1.40.2530.0439.95
5.1.30.2430.02710.48
5.1.20.2200.02310.39
5.1.10.2900.0279.99
5.1.00.2830.0239.94
5.0.50.1630.0208.66
5.0.40.1500.0178.34
5.0.30.1700.0308.20
5.0.20.1570.0208.28
5.0.10.1500.0208.14
5.0.00.1700.0338.28
4.4.90.1700.0205.89
4.4.80.1700.0175.77
4.4.70.1530.0175.78
4.4.60.1130.0175.86
4.4.50.1370.0175.81
4.4.40.1430.0235.79
4.4.30.1330.0135.83
4.4.20.1430.0175.82
4.4.10.1530.0135.86
4.4.00.1670.0205.87
4.3.110.1700.0175.70
4.3.100.1770.0175.70
4.3.90.1470.0135.73
4.3.80.1600.0235.72
4.3.70.1700.0135.70
4.3.60.1670.0235.78
4.3.50.1400.0135.70
4.3.40.1000.0235.77
4.3.30.0870.0205.58
4.3.20.0930.0205.58
4.3.10.0730.0135.58
4.3.00.0870.0135.58

preferences:
48 ms | 401 KiB | 5 Q