3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<_HTML 'single quotes' "double quotes" _HTML; echo 'no flags:', PHP_EOL, htmlspecialchars($str), PHP_EOL, PHP_EOL, 'with flags but nothing for quotes:', PHP_EOL, htmlspecialchars($str, ENT_HTML5);

preferences:
62.78 ms | 404 KiB | 5 Q