parser/tests/fixtures/0007/code.php

9 lines
139 B
PHP
Raw Normal View History

<?php
$foo = give_me_foo();
$a = [
'single' => $foo instanceof Foo,
'multiple' => $foo instanceof Bar && $foo instanceof Baz
];