Would like to give a shout out to php-wasm for a very Scittle-like script tag interface https://php-wasm.seanmorr.is/getting-started/php-in-static-html.html.
<script async type = "text/javascript" src = ""></script>
<script type = "text/php" data-stdout = "#output">
<?php phpinfo();
</script>
<div id = "output"></div>