3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface Demo { public static function create(never $value): static; }
Output for 8.1.0 - 8.1.34, 8.2.0 - 8.2.34, 8.3.0 - 8.3.12
Fatal error: never cannot be used as a parameter type in /in/cNNrk on line 4
Process exited with code 255.

preferences:
32.22 ms | 1152 KiB | 6 Q