3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(htmlentities("it's an apostrophe"));

preferences:
24.34 ms | 405 KiB | 5 Q