I found in here the new spec: https://wiki.php.net/rfc/void_return_type
function lacks_return(): void {
// valid
}
function returns_nothing(): void {
return; // valid
}
function returns_void(): void {
return void; // valid
}
Ask: Do you know what happens behind the scene. Will the lacks_return
function return actually void
?