1--TEST--
2Closure 025: Using closure in create_function()
3--FILE--
4<?php
5
6$a = create_function('$x', 'return function($y) use ($x) { return $x * $y; };');
7
8var_dump($a(2)->__invoke(4));
9
10?>
11--EXPECTF--
12Deprecated: Function create_function() is deprecated in %s on line %d
13int(8)
14