mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- MFH Add method support to --rfunction
This commit is contained in:
parent
ba6c82eee9
commit
c19fa0bbde
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user