3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "Enter Marvel.com, the best place to connect with other fans and get news about comics&#039; greatest super-heroes: Iron Man, Thor, Captain America, the X-Men, and more."; echo htmlentities($str); echo "<br>"; echo preg_replace("/&#?[a-z0-9]+;/i","",$str);
Output for 4.3.0 - 7.2.0
Enter Marvel.com, the best place to connect with other fans and get news about comics&amp;#039; greatest super-heroes: Iron Man, Thor, Captain America, the X-Men, and more.<br>Enter Marvel.com, the best place to connect with other fans and get news about comics greatest super-heroes: Iron Man, Thor, Captain America, the X-Men, and more.