3v4l.org

run code in 300+ PHP versions simultaneously
<?php$string = "submissions.php?department=Settings,%20Security%20&%20Payments";$encoded = htmlspecialchars_decode($string);echo "Original string: $string<br>";echo "Encoded string: $encoded<br>";?>

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.0100.00716.58
8.3.60.0040.01118.43
8.3.50.0130.00822.82
8.3.40.0080.00618.71
8.3.30.0110.00719.00
8.3.20.0040.00420.09
8.3.10.0040.00423.48
8.3.00.0050.00319.26
8.2.180.0170.00316.63
8.2.170.0120.00622.96
8.2.160.0090.00620.37
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0090.00926.16
8.2.120.0080.00021.10
8.2.110.0030.00620.52
8.2.100.0070.00417.59
8.2.90.0070.00319.23
8.2.80.0040.00417.97
8.2.70.0080.00417.50
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0040.00419.65
8.2.30.0040.00417.85
8.2.20.0000.00717.47
8.2.10.0000.00817.80
8.2.00.0000.00717.54
8.1.280.0090.00625.92
8.1.270.0050.00323.83
8.1.260.0000.00826.35
8.1.250.0030.00528.09
8.1.240.0100.00023.79
8.1.230.0040.00819.06
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0000.00917.10
8.1.190.0080.00017.10
8.1.180.0000.00818.10
8.1.170.0000.00918.54
8.1.160.0000.00721.91
8.1.150.0040.00418.74
8.1.140.0050.00317.29
8.1.130.0070.00017.62
8.1.120.0050.00217.25
8.1.110.0000.00817.22
8.1.100.0040.00417.30
8.1.90.0040.00317.21
8.1.80.0040.00417.34
8.1.70.0070.00017.32
8.1.60.0040.00417.42
8.1.50.0090.00017.45
8.1.40.0080.00017.42
8.1.30.0040.00417.37
8.1.20.0000.00717.49
8.1.10.0050.00317.34
8.1.00.0030.00517.27
8.0.300.0050.00218.77
8.0.290.0040.00416.58
8.0.280.0070.00018.37
8.0.270.0030.00317.18
8.0.260.0050.00317.07
8.0.250.0030.00316.70
8.0.240.0030.00316.80
8.0.230.0000.00716.65
8.0.220.0060.00016.64
8.0.210.0030.00316.68
8.0.200.0030.00316.80
8.0.190.0040.00416.76
8.0.180.0040.00416.70
8.0.170.0050.00216.68
8.0.160.0000.00716.74
8.0.150.0030.00316.63
8.0.140.0050.00216.73
8.0.130.0000.00613.43
8.0.120.0040.00416.72
8.0.110.0000.00716.70
8.0.100.0050.00216.76
8.0.90.0000.00716.86
8.0.80.0040.01116.73
8.0.70.0030.00616.62
8.0.60.0030.00316.66
8.0.50.0070.00016.72
8.0.30.0120.00716.72
8.0.20.0140.00517.40
8.0.10.0070.00016.86
8.0.00.0060.01116.70
7.4.330.0050.00015.03
7.4.320.0000.00616.31
7.4.300.0060.00016.38
7.4.290.0030.00316.21
7.4.280.0040.00416.34
7.4.270.0030.00316.36
7.4.260.0030.00316.34
7.4.250.0040.00416.33
7.4.240.0040.00316.35
7.4.230.0040.00416.17
7.4.220.0070.01116.41
7.4.210.0090.00616.47
7.4.200.0000.00816.57
7.4.160.0060.01016.14
7.4.150.0060.01417.40
7.4.140.0130.00917.86
7.4.130.0080.01116.28
7.4.120.0120.00816.39
7.4.110.0140.00716.27
7.4.100.0040.01316.36
7.4.90.0000.02316.43
7.4.80.0110.00719.39
7.4.70.0130.00616.45
7.4.60.0130.00716.36
7.4.50.0040.00416.04
7.4.40.0070.01016.43
7.4.30.0110.00516.16
7.3.330.0000.00513.20
7.3.320.0050.00013.14
7.3.310.0040.00416.09
7.3.300.0030.00316.09
7.3.290.0040.01016.13
7.3.280.0110.00816.15
7.3.270.0060.01317.40
7.3.260.0060.01116.22
7.3.240.0100.00616.22
7.3.230.0110.00816.39
7.3.210.0140.00316.38
7.3.200.0110.01119.39
7.3.190.0090.00616.26
7.3.180.0080.00816.40
7.3.170.0090.00616.27
7.3.160.0030.01616.50
7.2.330.0160.01016.24
7.2.320.0040.01216.24
7.2.310.0080.00816.27
7.2.300.0070.01016.49
7.2.290.0000.02016.52
5.4.320.0080.03512.45
5.4.310.0060.03812.45
5.4.300.0040.03912.45
5.4.290.0030.04112.45
5.4.280.0040.03712.34
5.4.270.0060.03612.34
5.4.260.0030.04412.35
5.4.250.0070.03512.35
5.4.240.0080.03312.34
5.4.230.0070.03512.34
5.4.220.0070.03412.34
5.4.210.0030.03712.34
5.4.200.0060.03712.34
5.4.190.0050.03712.33
5.4.180.0050.03612.34
5.4.170.0040.03812.35
5.4.160.0050.03612.34
5.4.150.0070.03412.34
5.4.140.0050.03612.02
5.4.130.0090.03212.01
5.4.120.0050.03511.97
5.4.110.0050.03511.96
5.4.100.0050.03611.96
5.4.90.0070.03511.96
5.4.80.0060.03611.96
5.4.70.0070.03911.96
5.4.60.0030.03911.96
5.4.50.0120.02911.96
5.4.40.0050.03511.95
5.4.30.0070.03411.94
5.4.20.0040.03711.95
5.4.10.0070.03411.95
5.4.00.0070.03711.43

preferences:
36.08 ms | 401 KiB | 5 Q