You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
get_class_methods() with a class-name string returns [] for a namespaced class #540
The methods themselves are there: method_exists($class, 'testOne') is true, and (new $class())->$m() works. Without the namespace, the string form works. This breaks test runners that discover test* methods by class name.
Manticore 0.17.0 (ghcr.io/manticorephp/compiler:latest, image built 2026-10-24, Linux x86_64). PHP reference: 8.5.4.
Thanks for the report!
Looks like a string value falls back into the global namespace. Thus, the result is wrong.
Definitely it will be fixed in the next release.
Activity
blacktrs commentedon Oct 30, 2026
Thanks for the report!
Looks like a string value falls back into the global namespace. Thus, the result is wrong.
Definitely it will be fixed in the next release.