Void functions

// Available in PHP 7.1
function voidFunction(): void
{
    echo 'Hello';
    return;
}
voidFunction();  # => Hello
Comments