blob: 8d909c025699895e489f8bb3ac7047a0a5ca6d01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Closure 029: Testing lambda with instanceof operator
--FILE--
<?php
var_dump(function() { } instanceof closure);
var_dump(function(&$x) { } instanceof closure);
var_dump(@function(&$x) use ($y, $z) { } instanceof closure);
?>
--EXPECT--
bool(true)
bool(true)
bool(true)
|