3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html> <body> <?php echo strip_tags("<p> [IMG] <a href='http://e-ticket.agora.gf/WebTicketNet/MovieInfo.aspx?oid=23000000012mdynqwe_35000000572mdynqwe'>test6</a></p>"); ?> <p>This function strips a string from HTML, XML, and PHP tags. In this example, the <b> tag gets stripped.</p> </body> </html>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<!DOCTYPE html> <html> <body> [IMG] test6 <p>This function strips a string from HTML, XML, and PHP tags. In this example, the <b> tag gets stripped.</p> </body> </html>