3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<!DOCTYPE html> <html> <body> <?php echo strip_tags("Hello <b>world!</b>"); ?> <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 - 7.1.0
<!DOCTYPE html> <html> <body> Hello world! <p>This function strips a string from HTML, XML, and PHP tags. In this example, the <b> tag gets stripped.</p> </body> </html>