3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php echo strip_tags("Hello <b>world!</b>"); echo "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>

preferences:
31.16 ms | 402 KiB | 5 Q