- Output for 7.1.0 - 7.1.16, 7.2.0 - 7.2.4
- Fatal error: A function with return type must return a value (did you mean "return null;" instead of "return;"?) in /in/ibp61 on line 5
Process exited with code 255.
<?php
function foo(): ?string
{
return;
}
foo();