11 lines
163 B
Plaintext
11 lines
163 B
Plaintext
Nullable types
|
|
-----
|
|
<?php
|
|
function test(?Foo $bar, ?string $foo, ?\Xyz $zyx) : ?Baz
|
|
{
|
|
}
|
|
-----
|
|
!!php7
|
|
function test(?Foo $bar, ?string $foo, ?\Xyz $zyx) : ?Baz
|
|
{
|
|
} |