xref: /PHP-5.3/Zend/tests/closure_029.phpt (revision e0625942)
1--TEST--
2Closure 029: Testing lambda with instanceof operator
3--FILE--
4<?php
5
6var_dump(function() { } instanceof closure);
7var_dump(function(&$x) { } instanceof closure);
8var_dump(@function(&$x) use ($y, $z) { } instanceof closure);
9
10?>
11--EXPECT--
12bool(true)
13bool(true)
14bool(true)
15