]> granicus.if.org Git - php/commit
Do not create a fake Closure for real Closures php-7.0.0RC5
authorBob Weinand <bobwei9@hotmail.com>
Wed, 14 Oct 2015 10:07:04 +0000 (12:07 +0200)
committerAnatol Belski <ab@php.net>
Wed, 14 Oct 2015 14:15:27 +0000 (16:15 +0200)
commit1b5b21539f8f12e6114bd4852438101c8989eabc
tree5b0670bd6bd80af3b38c4641439f7722e538f881
parent666db28ef25a166bb01c129316ecb7fec1e92532
Do not create a fake Closure for real Closures
That is solved by just returning the Closure as is, which is safe due to Closures being immutable objects
Zend/tests/closure_061.phpt
ext/reflection/php_reflection.c