parser/tests/0007/code.php
Saif Eddin Gmati 017b2e19c3
chore: use new integration test runner instead of assert_ast() (#127)
Signed-off-by: azjezz <azjezz@protonmail.com>

Signed-off-by: azjezz <azjezz@protonmail.com>
2022-11-29 01:33:01 +00:00

9 lines
139 B
PHP

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