3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "LONDON \x97 Britain\x92s unemployment rate held steady in the three months through January, reinforcing the Bank of England\x92s case for keeping interest rates at a record low."; echo htmlentities($str, ENT_HTML401, 'cp1252');

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.0170.00318.31
8.3.50.0070.00717.93
8.3.40.0110.00318.71
8.3.30.0040.01118.92
8.3.20.0030.01020.33
8.3.10.0040.00422.15
8.3.00.0050.00322.40
8.2.180.0130.00916.38
8.2.170.0110.00322.96
8.2.160.0070.00720.90
8.2.150.0080.00024.18
8.2.140.0110.00724.66
8.2.130.0140.00426.16
8.2.120.0020.00519.77
8.2.110.0060.00322.20
8.2.100.0150.00417.72
8.2.90.0080.00019.05
8.2.80.0040.00417.97
8.2.70.0030.00617.38
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0030.00718.34
8.2.30.0000.00718.12
8.2.20.0040.00417.71
8.2.10.0040.00419.29
8.2.00.0000.00917.54
8.1.280.0060.00925.92
8.1.270.0000.00822.02
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0060.00323.89
8.1.230.0040.00819.09
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0050.00517.22
8.1.190.0040.00417.28
8.1.180.0040.00418.10
8.1.170.0000.00718.52
8.1.160.0000.00721.88
8.1.150.0000.00718.61
8.1.140.0000.00717.30
8.1.130.0030.00317.81
8.1.120.0000.01117.43
8.1.110.0070.00017.42
8.1.100.0070.00017.38
8.1.90.0040.00417.39
8.1.80.0000.00717.39
8.1.70.0000.00717.41
8.1.60.0000.00917.45
8.1.50.0040.00417.49
8.1.40.0040.00417.48
8.1.30.0000.00717.41
8.1.20.0000.00817.47
8.1.10.0000.00717.54
8.1.00.0040.00417.49
8.0.300.0070.00018.77
8.0.290.0000.00817.05
8.0.280.0000.00718.39
8.0.270.0070.00017.29
8.0.260.0000.00716.76
8.0.250.0030.00316.90
8.0.240.0000.00817.01
8.0.230.0030.00316.87
8.0.220.0000.00816.83
8.0.210.0000.00616.85
8.0.200.0060.00016.84
8.0.190.0040.00416.87
8.0.180.0070.00016.85
8.0.170.0040.00416.82
8.0.160.0070.00016.82
8.0.150.0040.00416.66
8.0.140.0000.00716.79
8.0.130.0030.00313.21
8.0.120.0040.00416.69
8.0.110.0040.00416.84
8.0.100.0000.00816.71
8.0.90.0050.00316.82
8.0.80.0060.00916.80
8.0.70.0050.00316.82
8.0.60.0000.00816.92
8.0.50.0000.00716.66
8.0.30.0060.01317.01
8.0.20.0190.00817.40
8.0.10.0030.00616.96
8.0.00.0080.00916.69
7.4.330.0050.00015.00
7.4.320.0060.00016.39
7.4.300.0040.00416.35
7.4.290.0040.00416.55
7.4.280.0000.00716.53
7.4.270.0070.00016.38
7.4.260.0060.00316.45
7.4.250.0000.00816.47
7.4.240.0040.00316.49
7.4.230.0030.00316.55
7.4.220.0090.00916.36
7.4.210.0050.00916.46
7.4.200.0000.00716.18
7.4.190.0080.00016.64
7.4.160.0060.00916.40
7.4.150.0100.00717.40
7.4.140.0110.01017.86
7.4.130.0110.00716.59
7.4.120.0120.00516.50
7.4.110.0090.00916.34
7.4.100.0120.00616.49
7.4.90.0140.00316.39
7.4.80.0050.01119.39
7.4.70.0090.01216.20
7.4.60.0030.01316.47
7.4.50.0030.00516.21
7.4.40.0040.01222.77
7.4.30.0140.00316.49
7.4.00.0060.00914.64
7.3.330.0030.00312.98
7.3.320.0000.00512.96
7.3.310.0030.00316.10
7.3.300.0060.00016.16
7.3.290.0070.00816.09
7.3.280.0060.01116.18
7.3.270.0110.00617.40
7.3.260.0090.01016.34
7.3.250.0060.01216.21
7.3.240.0060.00916.32
7.3.230.0100.00716.39
7.3.210.0030.01316.20
7.3.200.0100.00619.39
7.3.190.0090.00916.34
7.3.180.0160.00016.57
7.3.170.0180.00316.31
7.3.160.0090.00616.33
7.3.120.0040.00714.81
7.3.10.0000.01016.48
7.3.00.0100.00316.38
7.2.330.0080.01116.49
7.2.320.0060.01316.60
7.2.310.0030.01816.58
7.2.300.0070.01016.20
7.2.290.0100.01016.20
7.2.130.0100.00216.85
7.2.120.0030.01316.91
7.2.110.0060.00916.77
7.2.100.0100.01016.50
7.2.90.0110.00616.80
7.2.80.0040.01116.61
7.2.70.0030.01016.67
7.2.60.0040.00916.81
7.2.50.0070.00716.92
7.2.40.0090.00616.84
7.2.30.0030.01016.47
7.2.20.0040.01116.73
7.2.10.0040.00416.62
7.2.00.0020.01117.91
7.1.250.0030.00915.71
7.1.200.0000.01215.52
7.1.100.0040.00717.82
7.1.70.0000.00817.14
7.1.60.0170.00719.82
7.1.50.0090.01216.92
7.1.00.0030.07722.44
7.0.200.0130.00016.61
7.0.140.0030.06722.09
7.0.60.0030.05019.92
7.0.50.0000.04317.88
7.0.40.0030.04319.91
7.0.30.0270.08020.34
7.0.20.0200.03720.02
7.0.10.0030.05320.30
7.0.00.0030.06320.08
5.6.280.0070.06721.07
5.6.210.0130.07320.70
5.6.200.0100.05018.13
5.6.190.0130.08320.62
5.6.180.3030.03720.33
5.6.170.0200.04320.71
5.6.160.0170.08020.71
5.6.150.0030.07018.09
5.6.140.0100.07318.13
5.6.130.0030.08718.08
5.6.120.0070.06021.11
5.6.110.0100.08021.00
5.6.100.0130.07721.00
5.6.90.0100.07720.99
5.6.80.0130.05320.50
5.5.350.0000.05320.43
5.5.340.0070.03717.95
5.5.330.0030.06720.19
5.5.320.0430.06320.51
5.5.310.0370.06720.31
5.5.300.0070.07717.95
5.5.290.0100.07017.91
5.5.280.0000.04720.88
5.5.270.0070.06320.88
5.5.260.0130.08020.64
5.5.250.0100.08320.68
5.5.240.0270.07720.28
5.4.450.0700.03319.30
5.4.440.0630.06719.46
5.4.430.0170.04719.68
5.4.420.0130.05019.52
5.4.410.0170.05318.96
5.4.400.0070.05718.74
5.4.390.0070.05718.61
5.4.380.0100.05318.68
5.4.370.0130.05318.50
5.4.360.0130.04718.71
5.4.350.0070.05718.67
5.4.340.0100.05318.68
5.4.320.0050.03712.45
5.4.310.0030.04012.45
5.4.300.0070.03712.45
5.4.290.0050.04812.45
5.4.280.0030.03712.35
5.4.270.0050.04612.34
5.4.260.0100.07018.80
5.4.250.0130.04718.85
5.4.240.0130.04719.01
5.4.230.0070.05318.73
5.4.220.0130.06718.90
5.4.210.0100.05718.70
5.4.200.0030.05718.90
5.4.190.0170.06718.88
5.4.180.0200.06018.84
5.4.170.0300.05318.88
5.4.160.0070.05318.68
5.4.150.0070.06319.00
5.4.140.0070.05316.27
5.4.130.0070.05016.29
5.4.120.0000.05716.44
5.4.110.0000.06016.23
5.4.100.0070.05016.50
5.4.90.0030.05316.35
5.4.80.0200.03716.37
5.4.70.0170.04716.21
5.4.60.0170.06316.31
5.4.50.0070.07016.28
5.4.40.0070.05316.50
5.4.30.0170.05716.44
5.4.20.0130.06716.16
5.4.10.0070.05016.39
5.4.00.0070.04715.93
5.3.290.0080.03912.80
5.3.280.0070.05014.48
5.3.270.0070.05314.61
5.3.260.0170.07714.37
5.3.250.0070.05014.60
5.3.240.0030.05314.59
5.3.230.0130.06714.61
5.3.220.0130.06714.56
5.3.210.0030.06014.43
5.3.200.0100.04714.60
5.3.190.0100.07014.54
5.3.180.0070.06714.33
5.3.170.0100.07314.56
5.3.160.0130.07014.56
5.3.150.0070.05314.65
5.3.140.0100.05314.40
5.3.130.0070.05314.55
5.3.120.0100.07014.46
5.3.110.0070.06014.55
5.3.100.0070.06714.04
5.3.90.0100.04714.02
5.3.80.0130.04713.74
5.3.70.0070.05014.06
5.3.60.0030.05313.99
5.3.50.0100.04313.64
5.3.40.0100.06313.80
5.3.30.0030.05013.99
5.3.20.0030.05013.60
5.3.10.0030.05013.34
5.3.00.0100.06313.73
5.2.170.0100.04011.13
5.2.160.0200.05311.14
5.2.150.0070.06011.13
5.2.140.0070.04011.05
5.2.130.0130.05010.85
5.2.120.0000.05011.11
5.2.110.0000.05011.11
5.2.100.0070.05010.86
5.2.90.0070.03710.98
5.2.80.0130.03011.09
5.2.70.0030.05710.97
5.2.60.0030.06011.06
5.2.50.0070.06011.02
5.2.40.0070.03711.11
5.2.30.0070.03710.98
5.2.20.0070.03711.06
5.2.10.0030.05710.91
5.2.00.0070.04010.77
5.1.60.0130.0409.93
5.1.50.0030.03310.04
5.1.40.0030.0339.89
5.1.30.0000.04010.26
5.1.20.0030.03710.35
5.1.10.0070.0339.83
5.1.00.0000.05310.25
5.0.50.0000.0308.39
5.0.40.0030.0278.36
5.0.30.0070.0508.26
5.0.20.0070.0338.27
5.0.10.0030.0278.16
5.0.00.0030.0438.36
4.4.90.0030.0208.16
4.4.80.0030.0278.16
4.4.70.0070.0178.16
4.4.60.0000.0238.16
4.4.50.0000.0238.16
4.4.40.0070.0408.16
4.4.30.0030.0208.16
4.4.20.0070.0178.16
4.4.10.0070.0178.16
4.4.00.0070.0408.16
4.3.110.0030.0208.16
4.3.100.0030.0208.16
4.3.90.0000.0278.16
4.3.80.0000.0478.16
4.3.70.0070.0178.16
4.3.60.0030.0308.16
4.3.50.0000.0278.16
4.3.40.0000.0338.16
4.3.30.0000.0238.16
4.3.20.0000.0278.16
4.3.10.0000.0238.16
4.3.00.0030.0206.95

preferences:
53.76 ms | 400 KiB | 5 Q