- MFH Add method support to --rfunction

This commit is contained in:
Marcus Boerger 2005-12-11 02:41:04 +00:00
parent ba6c82eee9
commit c19fa0bbde

View File

@ -1179,7 +1179,11 @@ int main(int argc, char *argv[])
switch (behavior) {
case PHP_MODE_REFLECTION_FUNCTION:
pce = reflection_function_ptr;
if (strstr(reflection_what, "::")) {
pce = reflection_method_ptr;
} else {
pce = reflection_function_ptr;
}
break;
case PHP_MODE_REFLECTION_CLASS:
pce = reflection_class_ptr;