1--TEST--
2Reflection::isClosure
3--CREDITS--
4Stefan Koopmanschap <stefan@phpgg.nl>
5TestFest PHP|Tek
6--SKIPIF--
7<?php
8if (!extension_loaded('reflection')) print 'skip';
9?>
10--FILE--
11<?php
12$closure = function($param) { return "this is a closure"; };
13$rc = new ReflectionFunction($closure);
14var_dump($rc->isClosure());
15--EXPECTF--
16bool(true)
17