3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt=stripslashes("Love &amp; Liquor,Birthday\'s,What\'s Cooking"); echo htmlspecialchars_decode($txt);

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.70.0070.00716.38
8.3.60.0040.01518.30
8.3.50.0120.00421.90
8.3.40.0090.00618.72
8.3.30.0030.01018.89
8.3.20.0030.00520.30
8.3.10.0080.00021.96
8.3.00.0060.00322.32
8.2.190.0080.00816.58
8.2.180.0110.01116.38
8.2.170.0110.00322.96
8.2.160.0070.00720.81
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0030.01026.16
8.2.120.0050.00319.24
8.2.110.0060.00321.96
8.2.100.0070.00419.57
8.2.90.0050.00319.19
8.2.80.0000.00818.04
8.2.70.0000.00817.50
8.2.60.0030.00617.80
8.2.50.0030.00618.07
8.2.40.0050.00218.22
8.2.30.0070.00018.08
8.2.20.0000.00717.71
8.2.10.0070.00017.50
8.2.00.0040.00417.55
8.1.280.0040.01125.92
8.1.270.0070.00022.10
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00623.83
8.1.230.0110.00019.00
8.1.220.0040.00417.79
8.1.210.0080.00018.77
8.1.200.0030.00617.13
8.1.190.0040.00417.39
8.1.180.0000.00818.74
8.1.170.0030.00618.51
8.1.160.0000.00821.94
8.1.150.0040.00418.62
8.1.140.0040.00417.39
8.1.130.0030.00317.69
8.1.120.0030.00317.48
8.1.110.0000.00817.37
8.1.100.0040.00417.39
8.1.90.0000.00817.44
8.1.80.0000.00817.38
8.1.70.0030.00317.35
8.1.60.0060.00317.53
8.1.50.0000.00717.37
8.1.40.0030.00617.44
8.1.30.0040.00417.59
8.1.20.0060.00317.66
8.1.10.0070.00017.58
8.1.00.0080.00017.31
8.0.300.0020.00518.77
8.0.290.0030.00517.05
8.0.280.0070.00018.37
8.0.270.0070.00017.20
8.0.260.0000.00616.75
8.0.250.0000.00717.02
8.0.240.0000.00816.93
8.0.230.0060.00316.93
8.0.220.0030.00316.73
8.0.210.0070.00016.82
8.0.200.0040.00416.93
8.0.190.0030.00516.89
8.0.180.0030.00616.86
8.0.170.0000.00816.84
8.0.160.0040.00416.87
8.0.150.0030.00616.77
8.0.140.0080.00016.78
8.0.130.0000.00513.30
8.0.120.0000.00816.77
8.0.110.0040.00416.88
8.0.100.0040.00416.86
8.0.90.0040.00416.85
8.0.80.0120.00316.80
8.0.70.0030.00616.71
8.0.60.0070.00016.81
8.0.50.0050.00216.94
8.0.30.0030.01516.92
8.0.20.0100.00917.40
8.0.10.0030.00316.95
8.0.00.0120.00716.57
7.4.330.0060.00015.09
7.4.320.0060.00016.52
7.4.300.0080.00016.44
7.4.290.0000.00716.39
7.4.280.0030.00316.52
7.4.270.0040.00416.55
7.4.260.0000.00716.42
7.4.250.0040.00416.51
7.4.240.0020.00516.49
7.4.230.0030.00316.52
7.4.220.0090.01216.35
7.4.210.0060.01016.52
7.4.200.0030.00316.64
7.4.190.0030.00316.30
7.4.160.0100.00716.39
7.4.150.0110.00617.40
7.4.140.0080.01017.86
7.4.130.0060.01316.51
7.4.120.0120.00916.41
7.4.110.0090.00916.37
7.4.100.0030.01516.55
7.4.90.0070.01116.36
7.4.80.0130.00919.39
7.4.70.0160.00016.35
7.4.60.0030.01316.54
7.4.50.0040.00416.47
7.4.40.0100.00622.77
7.4.30.0040.01116.40
7.4.00.0050.01014.84
7.3.330.0060.00012.93
7.3.320.0050.00012.88
7.3.310.0000.00716.14
7.3.300.0030.00316.18
7.3.290.0080.00816.20
7.3.280.0080.00916.14
7.3.270.0150.00317.40
7.3.260.0000.01716.13
7.3.250.0040.01216.25
7.3.240.0070.01016.44
7.3.230.0070.01116.39
7.3.210.0060.00916.38
7.3.200.0090.01019.39
7.3.190.0080.00816.36
7.3.180.0100.01016.11
7.3.170.0090.01216.27
7.3.160.0060.01016.18
7.3.120.0060.01114.74
7.3.110.0080.00814.78
7.3.100.0060.00714.51
7.3.90.0100.00214.64
7.3.80.0100.00514.58
7.3.70.0070.00714.67
7.3.60.0130.00214.65
7.3.50.0070.00714.79
7.3.40.0090.00614.68
7.3.30.0050.00514.65
7.3.20.0030.01216.54
7.3.10.0050.00916.54
7.3.00.0070.00716.64
7.2.330.0160.00316.29
7.2.320.0070.01016.62
7.2.310.0030.01816.57
7.2.300.0110.00516.40
7.2.290.0120.00616.31
7.2.250.0050.01214.85
7.2.240.0030.01515.12
7.2.230.0080.00614.69
7.2.220.0100.00514.90
7.2.210.0050.00915.00
7.2.200.0030.01014.97
7.2.190.0030.01114.92
7.2.180.0070.00714.88
7.2.170.0050.01214.98
7.2.60.0120.00616.52
7.2.00.0030.00719.57
7.1.330.0070.00715.76
7.1.320.0060.00615.80
7.1.310.0070.00615.68
7.1.300.0030.01215.76
7.1.290.0020.01315.52
7.1.280.0040.00715.73
7.1.270.0060.00615.54
7.1.260.0080.00415.67
7.1.200.0060.00915.77
7.1.100.0060.00317.73
7.1.70.0030.00717.07
7.1.60.0210.00319.82
7.1.50.0030.01416.86
7.1.00.0100.07022.35
7.0.200.0040.00416.77
7.0.140.0070.07022.00
7.0.60.0100.08319.90
7.0.50.0030.08017.90
7.0.40.0030.04320.18
7.0.30.0300.07320.16
7.0.20.0070.04720.17
7.0.10.0300.08020.00
7.0.00.0130.08320.16
5.6.280.0030.07320.86
5.6.210.0070.08320.72
5.6.200.0070.08718.22
5.6.190.0070.04020.63
5.6.180.3630.04320.43
5.6.170.0130.04320.54
5.6.160.0030.08320.61
5.6.150.0170.04018.18
5.6.140.0070.06018.09
5.6.130.0230.07318.18
5.6.120.0130.08021.00
5.6.110.0130.08021.00
5.6.100.0200.07020.97
5.6.90.0130.03020.99
5.6.80.0070.06020.27
5.6.70.0270.05720.39
5.5.350.0030.08320.42
5.5.340.0070.05017.97
5.5.330.0130.03320.25
5.5.320.0230.05320.41
5.5.310.0100.04320.41
5.5.300.0100.07718.01
5.5.290.0100.07317.91
5.5.280.0030.04020.98
5.5.270.0130.07320.76
5.5.260.0030.04720.66
5.5.250.0030.06320.77
5.5.240.0030.07320.23
5.4.450.0670.05019.45
5.4.440.0500.06019.52
5.4.430.0670.06719.23
5.4.420.0670.04719.49
5.4.410.0500.06319.19
5.4.400.0830.00018.66
5.4.390.1100.00018.78
5.4.380.0170.06718.52
5.4.370.0400.04318.55
5.4.360.0430.04318.49
5.4.350.0500.05018.68
5.4.340.0530.05318.46
5.4.320.0070.03512.45
5.4.310.0070.03912.45
5.4.300.0030.04312.45
5.4.290.0070.04312.45
5.4.280.0080.04012.35
5.4.270.0020.04012.35
5.4.260.0100.05018.90
5.4.250.0030.05718.80
5.4.240.0170.04319.03
5.4.230.0170.05018.87
5.4.220.0100.05319.03
5.4.210.0130.04718.77
5.4.200.0100.05019.02
5.4.190.0130.04318.80
5.4.180.0070.07018.79
5.4.170.0130.04318.70
5.4.160.0070.05318.82
5.4.150.0000.06318.71
5.4.140.0170.04316.27
5.4.130.0130.04316.29
5.4.120.0070.04716.26
5.4.110.0000.05716.50
5.4.100.0100.04716.26
5.4.90.0030.05016.45
5.4.80.0070.05016.39
5.4.70.0170.05716.43
5.4.60.0130.06016.39
5.4.50.0100.05716.39
5.4.40.0070.05016.45
5.4.30.0100.05716.34
5.4.20.0270.05716.46
5.4.10.0200.04716.31
5.4.00.0170.06015.87
5.3.290.0080.04712.80
5.3.280.0100.05314.61
5.3.270.0100.06014.61
5.3.260.0200.03714.37
5.3.250.0070.06714.46
5.3.240.0130.04714.63
5.3.230.0070.05314.43
5.3.220.0100.04714.40
5.3.210.0100.04714.66
5.3.200.0070.05014.33
5.3.190.0100.04714.71
5.3.180.0070.05014.60
5.3.170.0070.05014.44
5.3.160.0100.04714.57
5.3.150.0000.06014.41
5.3.140.0100.04714.44
5.3.130.0100.05014.55
5.3.120.0030.05714.24
5.3.110.0030.06314.55
5.3.100.0130.04714.07
5.3.90.0170.04314.02
5.3.80.0130.05313.86
5.3.70.0070.05014.06
5.3.60.0130.04714.09
5.3.50.0170.05713.78
5.3.40.0100.04313.64
5.3.30.0070.04713.85
5.3.20.0130.04013.60
5.3.10.0070.04713.66
5.3.00.0100.04713.64
5.2.170.0130.03711.15
5.2.160.0070.04311.05
5.2.150.0070.04011.16
5.2.140.0100.03711.24
5.2.130.0100.03711.10
5.2.120.0030.04011.01
5.2.110.0070.03711.00
5.2.100.0030.04011.09
5.2.90.0030.04011.01
5.2.80.0070.06011.00
5.2.70.0030.04011.19
5.2.60.0030.05011.04
5.2.50.0100.05310.78
5.2.40.0030.05710.91
5.2.30.0070.04310.88
5.2.20.0070.04010.87
5.2.10.0070.03710.63
5.2.00.0030.04310.79
5.1.60.0030.03310.05
5.1.50.0100.0479.94
5.1.40.0030.0339.95
5.1.30.0030.03310.45
5.1.20.0130.02710.50
5.1.10.0000.04010.25
5.1.00.0100.03310.07
5.0.50.0030.0308.69
5.0.40.0070.0378.46
5.0.30.0030.0437.98
5.0.20.0100.0308.25
5.0.10.0030.0308.25
5.0.00.0000.0478.08
4.4.90.0030.0207.03
4.4.80.0070.0177.03
4.4.70.0070.0177.03
4.4.60.0030.0207.03
4.4.50.0070.0177.03
4.4.40.0100.0407.03
4.4.30.0000.0277.03
4.4.20.0030.0237.03
4.4.10.0070.0177.02
4.4.00.0070.0307.03
4.3.110.0070.0207.03
4.3.100.0100.0207.03
4.3.90.0100.0207.03
4.3.80.0100.0277.03
4.3.70.0000.0237.03
4.3.60.0030.0207.03
4.3.50.0000.0307.03
4.3.40.0030.0337.02
4.3.30.0030.0237.02
4.3.20.0100.0207.02
4.3.10.0000.0237.02
4.3.00.0070.0239.32

preferences:
48.99 ms | 401 KiB | 5 Q