mirror of
https://github.com/danog/parser.git
synced 2024-12-11 08:39:46 +01:00
017b2e19c3
Signed-off-by: azjezz <azjezz@protonmail.com> Signed-off-by: azjezz <azjezz@protonmail.com>
9 lines
139 B
PHP
9 lines
139 B
PHP
<?php
|
|
|
|
$foo = give_me_foo();
|
|
|
|
$a = [
|
|
'single' => $foo instanceof Foo,
|
|
'multiple' => $foo instanceof Bar && $foo instanceof Baz
|
|
];
|