expose dynamic properties in reflection
commita61dd82692c252e9250ec6bac1dc38ca5d636643
authorPaul Tarjan <ptarjan@fb.com>
Tue, 5 Nov 2013 22:53:23 +0000 (5 14:53 -0800)
committerSara Golemon <sgolemon@fb.com>
Wed, 6 Nov 2013 19:08:47 +0000 (6 11:08 -0800)
tree2c4a78927be78f57fdf964bc6e72caf07e4c1a55
parentd5679aa80ae8a3cdec9ad449dbdfc128ecba39b6
expose dynamic properties in reflection

ReflectionClass supports taking an object and should use the dynamic props from it. @alexmalyshev is going to send a diff about default, so we'll have to co-ordinate whoever lands first.

Reviewed By: @elgenie

Differential Revision: D1043099
hphp/runtime/base/object-data.h
hphp/runtime/ext/ext_reflection.cpp
hphp/system/php/reflection/reflection.php
hphp/test/quick/reflection.php.expectf
hphp/test/slow/reflection/dynamic_property.php [new file with mode: 0644]
hphp/test/slow/reflection/dynamic_property.php.expect [new file with mode: 0644]