3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((new ReflectionFunction('sin'))->getClosure());
based on rT1DC
Output for 5.6.0 - 5.6.30, 7.1.20 - 7.2.6
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$number"]=> string(10) "<required>" } }
Output for 7.1.0 - 7.1.10
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$nd types"]=> string(10) "<required>" } }
Output for 7.0.24
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$� "]=> string(10) "<required>" } }
Output for 7.0.23
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$�`��p���"]=> string(10) "<required>" } }
Output for 7.0.22
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$�@��P���"]=> string(10) "<required>" } }
Output for 7.0.20 - 7.0.21
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$� ;��0;���:��"]=> string(10) "<required>" } }
Output for 7.0.19
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$��w���w��Pw���w���w���x���x���x���x��<x���x���x��Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.18
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$�`y��py���x��@y��(y��,z��Dz��Tz��dz���y��,z��z��Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.17
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$�@~��P~���}�� ~��~�� ��$��4��D���~�� ���~��Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.16
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$��������� �������h���l��������������� ���l���T���Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.15
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$�`��p���~��@��(��,���D���T���d������,������Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.14
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$���������0�������x���|������������������|���d���Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.13
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$�����Э��@�����������������������Į��,�������t���Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.12
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$��"]=> string(10) "<required>" } }
Output for 7.0.11
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$��������� �������h���|������������������|���d���Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.10
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$૥�諥�����h���ȫ������Ĭ��䬥�D���쬥�\���Ĭ������Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.9
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$p���x�����������X���@���T���t���Ԣ��|���좥�T���<���Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.8
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$������������(�������p�������������������������l���Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.7
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$@���H���X���ȶ��(������$���D�������L�������$��� ���Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.6
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$������������(�������h���|�����������������|���d���Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.5
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$På�Xå�hå��¥�8å� å�4ĥ�Tĥ��å�\ĥ��å�4ĥ�ĥ�Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.4
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$��(����������t��������Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.3
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$������8������������,���|�Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.2
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$"]=> string(10) "<required>" } }
Output for 7.0.1
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$�����x�`�t������������ ���t���\���Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for 7.0.0
object(Closure)#2 (1) { ["parameter"]=> array(1) { ["$p���x�����������X���@���T���t������|�����T���<���Internal zval's can't be arrays, objects or resources"]=> string(10) "<required>" } }
Output for hhvm-3.21.0
object(Closure$ReflectionFunction::getClosure;2)#2 (2) { ["parameter"]=> array(1) { ["$args"]=> string(10) "<required>" } ["this"]=> object(ReflectionFunction)#1 (3) { ["name"]=> string(3) "sin" ["closure":"ReflectionFunction":private]=> NULL ["params":"ReflectionFunctionAbstract":private]=> NULL } }
Output for hhvm-3.18.4
object(Closure$ReflectionFunction::getClosure;0)#2 (2) { ["parameter"]=> array(1) { ["$args"]=> string(10) "<required>" } ["this"]=> object(ReflectionFunction)#1 (3) { ["name"]=> string(3) "sin" ["closure":"ReflectionFunction":private]=> NULL ["params":"ReflectionFunctionAbstract":private]=> NULL } }