Zend incompatibility fix: ReflectionParameter's function name should accept closure
commitaaf59cb468a0acbe1a25a09cd2d4a67e7e76e4da
authorJames Yu <smilence@fb.com>
Wed, 5 Mar 2014 21:59:44 +0000 (5 13:59 -0800)
committerSara Golemon <sgolemon@fb.com>
Fri, 7 Mar 2014 18:09:37 +0000 (7 10:09 -0800)
tree2babc5cabadc0cf28992cff057da307755f04242
parent6a1bb238970c7ced69ca875b03cef8e3baa5289a
Zend incompatibility fix: ReflectionParameter's function name should accept closure

Closes [[ https://our.intern.facebook.com/l.php?h=nAQFFZh_1&u=https%3A%2F%2Fgithub.com%2Ffacebook%2Fhhvm%2Fissues%2F1358 | #1358]]
Fixed ReflectionParameter's construct function to accept closure

Reviewed By: @ptarjan

Differential Revision: D1179989
hphp/runtime/ext/reflection/ext_reflection-classes.php
hphp/test/zend/good/Zend/tests/issue1358.php [new file with mode: 0644]
hphp/test/zend/good/Zend/tests/issue1358.php.expectf [new file with mode: 0644]