3v4l.org

run code in 300+ PHP versions simultaneously
<?php function unicode_escape_sequences($str){ $working = json_encode($str); $working = preg_replace('/\\\u([0-9a-z]{4})/', '&#x$1;', $working); return json_decode($working); } echo unicode_escape_sequences("http\u00253A\u00252F\u00252Fwww.splicecommunity.com\u00252Fmedia\u00252F5735709\u00252Fadbne_hero-1.jpg");

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.40.0120.00318.92
8.3.30.0120.00619.13
8.3.20.0040.00420.21
8.3.10.0080.00021.95
8.3.00.0040.00422.50
8.2.170.0070.00722.96
8.2.160.0100.00719.04
8.2.150.0090.00024.18
8.2.140.0080.00024.66
8.2.130.0030.00726.16
8.2.120.0080.00019.90
8.2.110.0060.00322.32
8.2.100.0110.00017.91
8.2.90.0000.00819.17
8.2.80.0080.00017.97
8.2.70.0060.00317.75
8.2.60.0080.00018.04
8.2.50.0050.00518.07
8.2.40.0040.00420.07
8.2.30.0090.00318.06
8.2.20.0040.00417.87
8.2.10.0040.00417.75
8.2.00.0040.00417.64
8.1.270.0050.00318.63
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0070.00323.83
8.1.230.0110.00019.15
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0040.00717.23
8.1.190.0050.00317.39
8.1.180.0000.00918.80
8.1.170.0000.01018.71
8.1.160.0040.00422.17
8.1.150.0000.00818.69
8.1.140.0070.00017.54
8.1.130.0000.00717.83
8.1.120.0030.00517.56
8.1.110.0040.00417.51
8.1.100.0040.00417.54
8.1.90.0070.00017.55
8.1.80.0040.00417.50
8.1.70.0040.00417.57
8.1.60.0060.00317.73
8.1.50.0060.00317.57
8.1.40.0030.00617.67
8.1.30.0040.00417.80
8.1.20.0000.00817.78
8.1.10.0040.00417.63
8.1.00.0000.00817.64
8.0.300.0000.00818.77
8.0.290.0070.00017.18
8.0.280.0070.00018.38
8.0.270.0030.00317.18
8.0.260.0000.00616.84
8.0.250.0050.00217.11
8.0.240.0040.00417.05
8.0.230.0030.00317.04
8.0.220.0070.00016.90
8.0.210.0030.00316.89
8.0.200.0030.00317.01
8.0.190.0040.00417.00
8.0.180.0000.00816.95
8.0.170.0050.00316.92
8.0.160.0000.00816.95
8.0.150.0070.00016.96
8.0.140.0070.00016.82
8.0.130.0000.00613.37
8.0.120.0000.00816.93
8.0.110.0000.00817.03
8.0.100.0040.00416.88
8.0.90.0080.00016.82
8.0.80.0130.00316.95
8.0.70.0040.00416.98
8.0.60.0030.00516.98
8.0.50.0040.00416.93
8.0.30.0070.01117.15
8.0.20.0130.00817.40
8.0.10.0040.00417.16
8.0.00.0050.01316.87
7.4.330.0000.00415.00
7.4.320.0090.00016.79
7.4.300.0030.00316.81
7.4.290.0000.00716.73
7.4.280.0060.00016.68
7.4.270.0000.00716.82
7.4.260.0030.00616.70
7.4.250.0000.00816.58
7.4.240.0040.00416.76
7.4.230.0030.00316.88
7.4.220.0100.00716.89
7.4.210.0090.00616.87
7.4.200.0040.00416.61
7.4.190.0070.00016.70
7.4.160.0100.00716.77
7.4.150.0030.01317.40
7.4.140.0110.00717.86
7.4.130.0120.00616.81
7.4.120.0080.01016.83
7.4.110.0090.00916.61
7.4.100.0170.00716.55
7.4.90.0040.01316.54
7.4.80.0060.01219.39
7.4.70.0140.00416.63
7.4.60.0090.01316.67
7.4.50.0000.00816.64
7.4.40.0030.01022.77
7.4.30.0090.00616.62
7.4.00.0060.00615.18
7.3.330.0000.00513.36
7.3.320.0030.00313.25
7.3.310.0030.00316.38
7.3.300.0000.00616.39
7.3.290.0100.01016.39
7.3.280.0130.00216.38
7.3.270.0030.01417.40
7.3.260.0060.01216.70
7.3.250.0130.01116.53
7.3.240.0170.00716.78
7.3.230.0190.00316.69
7.3.210.0120.00316.62
7.3.200.0060.01419.39
7.3.190.0100.00716.55
7.3.180.0100.01316.35
7.3.170.0170.00616.65
7.3.160.0170.00016.52
7.3.120.0030.01214.81
7.2.330.0030.01316.59
7.2.320.0160.00616.72
7.2.310.0110.01116.77
7.2.300.0100.00716.90
7.2.290.0070.01016.64
7.2.00.0000.01619.76
7.1.100.0060.00818.32
7.1.70.0040.00417.41
7.1.60.0130.01319.82
7.1.50.0080.00817.19
7.1.00.0070.06022.34
7.0.200.0000.00716.82
7.0.140.0070.06322.18
7.0.90.0430.05719.90
7.0.80.0670.05319.88
7.0.70.0430.05719.88
7.0.60.0570.08019.96
7.0.50.0600.08720.30
7.0.40.0070.08019.95
7.0.30.0070.05320.14
7.0.20.0100.08020.18
7.0.10.0070.04320.07
7.0.00.0100.05020.12
5.6.280.0130.06320.98
5.6.240.0100.05320.51
5.6.230.0130.07720.69
5.6.220.0030.08320.56
5.6.210.0100.07720.47
5.6.200.0070.08321.08
5.6.190.0200.07021.04
5.6.180.0130.07321.12
5.6.170.0070.08021.18
5.6.160.0130.04721.17
5.6.150.0030.08021.17
5.6.140.0130.07321.01
5.6.130.0100.05021.07
5.6.120.0130.08320.96
5.6.110.0170.07321.09
5.6.100.0030.05721.11
5.6.90.0100.08021.00
5.6.80.0070.05020.47
5.6.70.0170.06720.46
5.6.60.0030.05320.50
5.6.50.0130.07320.38
5.6.40.0070.08720.45
5.6.30.0000.05320.45
5.6.20.0230.03320.38
5.6.10.0100.05720.27
5.6.00.0130.06020.47
5.5.380.0030.08020.35
5.5.370.0100.07720.40
5.5.360.0300.05720.44
5.5.350.0100.08020.35
5.5.340.0170.07320.84
5.5.330.0070.08720.89
5.5.320.0170.06720.84
5.5.310.0030.08020.64
5.5.300.0070.08020.83
5.5.290.0070.08720.80
5.5.280.0100.07720.79
5.5.270.0000.09320.78
5.5.260.0100.03720.75
5.5.250.0170.08020.59
5.5.240.0100.07720.30
5.5.230.0100.07020.18
5.5.220.0100.07720.18
5.5.210.0070.08020.14
5.5.200.0000.08320.18
5.5.190.0100.03720.15
5.5.180.0070.07720.26
5.5.160.0030.04320.18
5.5.150.0070.08020.27
5.5.140.0030.08320.20
5.5.130.0070.08020.20
5.5.120.0100.07320.22
5.5.110.0030.08019.99
5.5.100.0100.07320.07
5.5.90.0130.07720.07
5.5.80.0070.05020.15
5.5.70.0130.05319.96
5.5.60.0100.07720.10
5.5.50.0200.03720.14
5.5.40.0070.04719.93
5.5.30.0200.07319.93
5.5.20.0100.04020.11
5.5.10.0100.08020.02
5.5.00.0070.07319.94
5.4.450.0130.05019.27
5.4.440.0070.07319.50
5.4.430.0000.08319.37
5.4.420.0030.05719.41
5.4.410.0170.06719.22
5.4.400.0100.06318.88
5.4.390.0100.07019.03
5.4.380.0070.05319.12
5.4.370.0130.07019.18
5.4.360.0100.04719.03
5.4.350.0070.05019.04
5.4.340.0130.07019.23
5.4.320.0070.05018.94
5.4.310.0070.04319.21
5.4.300.0070.06318.87
5.4.290.0070.07019.12
5.4.280.0130.07018.88
5.4.270.0070.03719.17
5.4.260.0030.05019.18
5.4.250.0070.05719.09
5.4.240.0130.07019.06
5.4.230.0030.07719.13
5.4.220.0070.06019.02
5.4.210.0100.07018.81
5.4.200.0270.05318.87
5.4.190.0070.05019.07
5.4.180.0170.06719.22
5.4.170.0130.07719.07
5.4.160.0070.05018.98
5.4.150.0100.07318.83
5.4.140.0100.06016.45
5.4.130.0130.07016.42
5.4.120.0030.04316.20
5.4.110.0070.07016.39
5.4.100.0070.07016.44
5.4.90.0070.07316.35
5.4.80.0100.04316.41
5.4.70.0000.05716.37
5.4.60.0100.06016.42
5.4.50.0030.07716.39
5.4.40.0100.06016.46
5.4.30.0070.06316.45
5.4.20.0100.07016.29
5.4.10.0070.07016.36
5.4.00.0000.08315.59
5.3.290.0100.05314.79
5.3.280.0100.05014.59
5.3.270.0030.04014.75
5.3.260.0030.07714.72
5.3.250.0200.06314.53
5.3.240.0000.05014.64
5.3.230.0030.07314.66
5.3.220.0030.08014.49
5.3.210.0070.04714.68
5.3.200.0130.07014.57
5.3.190.0070.04314.49
5.3.180.0100.07314.70
5.3.170.0070.06014.67
5.3.160.0070.06314.55
5.3.150.0130.07014.68
5.3.140.0030.07314.69
5.3.130.0070.07714.60
5.3.120.0100.07014.47
5.3.110.0070.05714.57
5.3.100.0030.08314.05
5.3.90.0070.07313.98
5.3.80.0070.05314.15
5.3.70.0130.06714.00
5.3.60.0070.07014.09
5.3.50.0070.07313.84
5.3.40.0030.08313.95
5.3.30.0070.07014.02
5.3.20.0070.06713.79
5.3.10.0070.06313.72
5.3.00.0130.06713.77
5.2.170.0030.04311.13
5.2.160.0030.05711.25
5.2.150.0000.06311.04
5.2.140.0030.06311.00
5.2.130.0030.04011.11
5.2.120.0000.06311.23
5.2.110.0070.06011.21
5.2.100.0100.05311.02
5.2.90.0130.04710.96
5.2.80.0030.05711.15
5.2.70.0030.06011.14
5.2.60.0070.05011.18
5.2.50.0070.03710.88
5.2.40.0070.05711.11
5.2.30.0000.06311.08
5.2.20.0130.05010.98
5.2.10.0100.05310.76
5.2.00.0070.06010.84
5.1.60.0030.05010.00
5.1.50.0070.0479.83
5.1.40.0100.04710.00
5.1.30.0070.04310.35
5.1.20.0030.03710.40
5.1.10.0030.05310.05
5.1.00.0070.0539.91
5.0.50.0030.0478.38
5.0.40.0070.0338.51
5.0.30.0000.0408.11
5.0.20.0100.0378.04
5.0.10.0030.0308.29
5.0.00.0000.0338.25
4.4.90.0030.0377.24
4.4.80.0070.0137.24
4.4.70.0030.0377.24
4.4.60.0170.0237.24
4.4.50.0030.0277.24
4.4.40.0000.0407.24
4.4.30.0070.0337.24
4.4.20.0070.0337.24
4.4.10.0030.0237.24
4.4.00.0030.0477.24
4.3.110.0030.0207.24
4.3.100.0030.0337.24
4.3.90.0000.0237.24
4.3.80.0000.0277.24
4.3.70.0000.0207.24
4.3.60.0070.0137.24
4.3.50.0000.0277.24
4.3.40.0030.0507.24
4.3.30.0070.0277.24
4.3.20.0030.0337.24
4.3.10.0030.0277.24
4.3.00.0030.0177.24

preferences:
39.06 ms | 400 KiB | 5 Q