3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php$string = "submissions.php?department=Settings,%20Security%20&%20Payments";$encoded = htmlspecialchars_decode($string);echo "Original string: $string<br>";echo "Encoded string: $encoded<br>";?>
Output for 5.4.0 - 5.4.32
<?php$string = "submissions.php?department=Settings,%20Security%20&%20Payments";$encoded = htmlspecialchars_decode($string);echo "Original string: $string<br>";echo "Encoded string: $encoded<br>";?>