3v4l.org

run code in 500+ PHP versions simultaneously
<?php ?><?php declare(strict_types=1);
Output for 8.1.5 - 8.1.34, 8.2.0 - 8.2.34, 8.3.0 - 8.3.5
Fatal error: strict_types declaration must be the very first statement in the script in /in/3A0Xm on line 5
Process exited with code 255.

preferences:
37.08 ms | 1151 KiB | 6 Q