3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "<br>a&#38;&amp;\nb"; var_dump(strip_tags(html_entity_decode($a))); var_dump(html_entity_decode(strip_tags($a)));
based on fofUc
Output for 5.0.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
string(5) "a&& b" string(5) "a&& b"
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 4.4.9
string(9) "a&#38;& b" string(9) "a&#38;& b"