phpshell
phpshell copied to clipboard
live preview: Cannot declare `strict_types`
<?php
declare(strict_types=1);
Fatal error: strict_types declaration must be the very first statement in the script in php-wasm run script on line 2
I can't seem to reproduce this: https://3v4l.org/VpFbX
Enable live preview.
Ah! That info was missing in the report ;-) Still, seeing it in one browser (Brave), not in the other (Palemoon)...
this is known issue that should be fixed in php-wasm - or else I need to revert to my own wasm implementation which is not preferred
suspending for now