12 lines
133 B
Plaintext
12 lines
133 B
Plaintext
|
<?php
|
||
|
|
||
|
function Bar(): ?\stdClass {
|
||
|
return new \stdClass();
|
||
|
}
|
||
|
|
||
|
if ( ($f = Bar()) !== null) {
|
||
|
var_dump($f);
|
||
|
} else {
|
||
|
echo "x\n";
|
||
|
}
|