On 02/06/2025 20:01, Larry Garfield wrote:
The result of this RFC is that the following would no longer be an error, yes?

function test(): void {
   print "test";
}

// This currently gives an error, but you propose that it
// would change to set $val to null?
$val = test();

There is no error: https://3v4l.org/UD4vn

--
Anton

p.s. sorry Larry, first time I forgot that I'm answering to the mailing list :D

Reply via email to