1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00

- 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
+5 -1
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;