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_XML1 | ENT_SUBSTITUTE, '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.0100.01018.30
8.3.50.0140.00721.92
8.3.40.0120.00418.52
8.3.30.0060.00918.92
8.3.20.0080.00020.39
8.3.10.0040.00421.95
8.3.00.0040.00422.43
8.2.180.0040.01116.73
8.2.170.0140.00022.96
8.2.160.0110.00418.79
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0090.00926.16
8.2.120.0030.00717.63
8.2.110.0080.00322.14
8.2.100.0120.00417.78
8.2.90.0000.00819.34
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0080.00017.80
8.2.50.0070.00318.07
8.2.40.0030.00618.22
8.2.30.0040.00418.10
8.2.20.0000.00717.53
8.2.10.0040.00417.62
8.2.00.0040.00417.49
8.1.280.0070.01325.92
8.1.270.0070.00022.06
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00723.84
8.1.230.0030.00719.04
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0060.00317.11
8.1.190.0000.00817.41
8.1.180.0060.00318.54
8.1.170.0040.00418.51
8.1.160.0070.00021.95
8.1.150.0030.00618.48
8.1.140.0030.00317.33
8.1.130.0030.00717.78
8.1.120.0000.00817.39
8.1.110.0040.00417.38
8.1.100.0000.00717.42
8.1.90.0000.00817.39
8.1.80.0000.00717.29
8.1.70.0000.00717.38
8.1.60.0040.00417.54
8.1.50.0040.00417.36
8.1.40.0000.00817.45
8.1.30.0000.00817.57
8.1.20.0000.00817.59
8.1.10.0000.00717.47
8.1.00.0000.00817.43
8.0.300.0040.00418.77
8.0.290.0000.00717.03
8.0.280.0030.00318.45
8.0.270.0000.00717.16
8.0.260.0000.00816.81
8.0.250.0040.00417.00
8.0.240.0050.00316.98
8.0.230.0060.00316.84
8.0.220.0050.00316.71
8.0.210.0030.00316.71
8.0.200.0080.00016.85
8.0.190.0000.00716.96
8.0.180.0050.00216.83
8.0.170.0040.00416.85
8.0.160.0000.00816.78
8.0.150.0030.00316.80
8.0.140.0000.00816.77
8.0.130.0030.00313.27
8.0.120.0040.00416.69
8.0.110.0000.00716.81
8.0.100.0000.00716.89
8.0.90.0040.00416.82
8.0.80.0090.00616.88
8.0.70.0040.00416.80
8.0.60.0050.00316.83
8.0.50.0040.00416.74
8.0.30.0120.01017.12
8.0.20.0100.00817.40
8.0.10.0040.00416.92
8.0.00.0100.01016.65
7.4.330.0050.00015.13
7.4.320.0000.00716.45
7.4.300.0000.00616.38
7.4.290.0060.00016.57
7.4.280.0000.00816.34
7.4.270.0030.00316.46
7.4.260.0040.00416.58
7.4.250.0040.00416.45
7.4.240.0070.00016.41
7.4.230.0000.00816.52
7.4.220.0070.01016.58
7.4.210.0070.01016.38
7.4.200.0000.00816.62
7.4.190.0030.00316.64
7.4.160.0050.01116.61
7.4.150.0040.01417.40
7.4.140.0080.01017.86
7.4.130.0110.00916.65
7.4.120.0080.01016.53
7.4.110.0110.01016.44
7.4.100.0170.00716.54
7.4.90.0100.01316.21
7.4.80.0090.00919.39
7.4.70.0090.00616.36
7.4.60.0070.01416.45
7.4.50.0000.00716.35
7.4.40.0070.01022.77
7.4.30.0070.01016.36
7.4.00.0080.00814.72
7.3.330.0050.00013.14
7.3.320.0050.00013.03
7.3.310.0000.00716.21
7.3.300.0030.00316.17
7.3.290.0030.01216.16
7.3.280.0060.01016.17
7.3.270.0100.01417.40
7.3.260.0110.00616.54
7.3.250.0100.00816.31
7.3.240.0100.01316.13
7.3.230.0090.01316.39
7.3.210.0100.00916.30
7.3.200.0060.01019.39
7.3.190.0100.00616.20
7.3.180.0000.01616.14
7.3.170.0080.00816.32
7.3.160.0100.00616.27
7.3.120.0060.01114.74
7.3.110.0060.01314.66
7.3.100.0070.00714.65
7.3.90.0090.00514.68
7.3.80.0070.00514.46
7.3.70.0080.00614.57
7.3.60.0040.00814.67
7.3.50.0080.00814.68
7.3.40.0060.00414.63
7.3.30.0030.00814.74
7.3.20.0040.01216.61
7.3.10.0070.00716.49
7.3.00.0070.00816.34
7.2.330.0040.01516.65
7.2.320.0030.01616.53
7.2.310.0060.01016.46
7.2.300.0130.00316.58
7.2.290.0080.00816.50
7.2.250.0090.00915.00
7.2.240.0080.01014.93
7.2.230.0070.00914.99
7.2.220.0060.00814.86
7.2.210.0030.01214.71
7.2.200.0050.01014.92
7.2.190.0060.00814.92
7.2.180.0050.01014.88
7.2.170.0010.01014.77
7.2.160.0100.00315.08
7.2.150.0030.01316.76
7.2.140.0030.01516.57
7.2.130.0070.00716.68
7.2.120.0030.00816.77
7.2.110.0080.00616.80
7.2.100.0030.01016.57
7.2.90.0030.00616.82
7.2.80.0080.00616.76
7.2.70.0030.01016.74
7.2.60.0030.00916.69
7.2.50.0040.00616.71
7.2.40.0090.00116.51
7.2.30.0060.00516.61
7.2.20.0060.00716.70
7.2.10.0050.00616.73
7.2.00.0080.00617.52
7.1.330.0110.00515.71
7.1.320.0050.00815.72
7.1.310.0080.00515.72
7.1.300.0040.00715.55
7.1.290.0080.00815.67
7.1.280.0050.01115.46
7.1.270.0070.00715.60
7.1.260.0070.00815.79
7.1.250.0030.00915.75
7.1.200.0040.00415.80
7.1.100.0060.00618.05
7.1.70.0060.00617.14
7.1.60.0060.01919.82
7.1.50.0090.01616.80
7.1.00.0070.08322.32
7.0.200.0060.00316.75
7.0.140.0000.07721.95
7.0.60.0070.05019.88
7.0.50.0100.07017.82
7.0.40.0070.07020.12
7.0.30.0330.07720.12
7.0.20.0330.06320.16
7.0.10.0070.04020.21
7.0.00.0100.08720.13
5.6.280.0000.07721.11
5.6.210.0030.04020.74
5.6.200.0170.08018.13
5.6.190.0000.06320.33
5.6.180.0230.04320.39
5.6.170.0230.05320.33
5.6.160.0070.03720.44
5.6.150.0170.07318.21
5.6.140.0000.04718.14
5.6.130.0100.08018.20
5.6.120.0100.05320.96
5.6.110.0130.07321.11
5.6.100.0170.07020.95
5.6.90.0000.04721.11
5.6.80.0070.03720.50
5.5.350.0200.03720.41
5.5.340.0130.05717.98
5.5.330.0000.04320.06
5.5.320.0170.04320.27
5.5.310.0230.05320.29
5.5.300.0030.04017.92
5.5.290.0100.07717.98
5.5.280.0070.04720.77
5.5.270.0100.07720.72
5.5.260.0130.07720.86
5.5.250.0030.07320.61
5.5.240.0270.07720.11
5.4.450.3800.04019.49
5.4.440.0100.03719.23
5.4.430.3800.03319.52
5.4.420.4700.03019.41
5.4.410.4070.04019.23
5.4.400.3670.03018.81
5.4.390.4030.04319.13
5.4.380.4070.04019.08
5.4.370.3700.04019.22
5.4.360.4030.03319.25
5.4.350.3700.04018.85
5.4.340.3070.03719.09
5.4.320.2130.04018.92
5.4.310.3730.03719.26
5.4.300.4230.03719.08
5.4.290.3800.03718.91
5.4.280.3000.03319.13
5.4.270.3430.03718.91
5.4.260.2430.02318.88
5.4.250.3770.03718.88
5.4.240.3670.03319.13
5.4.230.3570.04019.08
5.4.220.3600.04019.07
5.4.210.3800.03719.24
5.4.200.3430.03318.91
5.4.190.3770.03719.08
5.4.180.3770.03319.05
5.4.170.4030.04019.05
5.4.160.3730.03719.11
5.4.150.4000.03719.11
5.4.140.4130.04716.31
5.4.130.3770.03316.54
5.4.120.3670.03716.31
5.4.110.3800.04716.06
5.4.100.3800.03716.42
5.4.90.3670.03316.36
5.4.80.3830.03016.50
5.4.70.3530.04016.48
5.4.60.3670.03016.39
5.4.50.4000.03316.36
5.4.40.3700.03716.22
5.4.30.3630.03716.46
5.4.20.3830.04016.37
5.4.10.4630.04716.42
5.4.00.3730.03015.82
5.3.290.3030.03014.56
5.3.280.3730.03714.43
5.3.270.3470.03714.50
5.3.260.3900.04014.54
5.3.250.3830.04014.48
5.3.240.3870.03714.54
5.3.230.3730.03314.43
5.3.220.3670.04314.61
5.3.210.3800.03014.42
5.3.200.3830.03314.41
5.3.190.3870.03714.51
5.3.180.3800.03314.55
5.3.170.3600.03714.43
5.3.160.3600.03314.39
5.3.150.3830.02714.39
5.3.140.3770.03314.41
5.3.130.3630.04314.39
5.3.120.3730.03714.39
5.3.110.3970.03714.49
5.3.100.3830.04313.87
5.3.90.3970.03713.96
5.3.80.3900.03013.89
5.3.70.3970.03314.07
5.3.60.3770.03313.95
5.3.50.3670.03013.88
5.3.40.3530.04313.97
5.3.30.3630.03313.70
5.3.20.3630.03313.73
5.3.10.3570.03313.62
5.3.00.3900.03713.52
5.2.170.3000.03011.00
5.2.160.3330.03010.99
5.2.150.3330.03011.00
5.2.140.3000.02311.01
5.2.130.2700.03011.04
5.2.120.3000.02311.19
5.2.110.3070.03010.94
5.2.100.2970.03310.96
5.2.90.3100.02711.15
5.2.80.3170.03011.14
5.2.70.3070.03310.94
5.2.60.3170.03310.97
5.2.50.3130.03011.06
5.2.40.2730.02711.05
5.2.30.2100.02310.80
5.2.20.2530.02311.11
5.2.10.2400.03010.82
5.2.00.2470.02310.68
5.1.60.2400.0239.86
5.1.50.2430.0179.89
5.1.40.2470.02310.05
5.1.30.2330.02710.38
5.1.20.2300.02710.52
5.1.10.2500.0239.99
5.1.00.1630.02010.18
5.0.50.1470.0208.42
5.0.40.1370.0208.40
5.0.30.1300.0308.12
5.0.20.1430.0238.17
5.0.10.1270.0208.06
5.0.00.1270.0308.04
4.4.90.1200.0176.48
4.4.80.1470.0176.48
4.4.70.1270.0176.48
4.4.60.1230.0106.48
4.4.50.1270.0176.48
4.4.40.1230.0236.48
4.4.30.0870.0136.48
4.4.20.1500.0136.48
4.4.10.0970.0176.48
4.4.00.1270.0276.48
4.3.110.1270.0136.48
4.3.100.1270.0136.48
4.3.90.1270.0176.48
4.3.80.1170.0276.48
4.3.70.1170.0136.48
4.3.60.1200.0106.48
4.3.50.1300.0136.48
4.3.40.1200.0236.48
4.3.30.0600.0176.48
4.3.20.0570.0176.48
4.3.10.0570.0176.48
4.3.00.0400.0136.48

preferences:
48.66 ms | 401 KiB | 5 Q