3v4l.org

run code in 500+ PHP versions simultaneously
<?php $v=5; declare(strict_types=1);
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
Fatal error: strict_types declaration must be the very first statement in the script in /in/W6NNC on line 3
Process exited with code 255.

preferences:
45.17 ms | 727 KiB | 3 Q