re: I Want Scalar Objects in PHP VIEW POST

TOP OF THREAD FULL DISCUSSION
re: There would be a conflict only if no policy is set up. What seems obvious to me is to check for declared methods first. Like you cannot "create" a ...

and for another suggestion since i found a way to declared constant dynamically:
a way to get constants declared in a specific namespace.
something like:

// returns an array with name => value (as get_defined_constants does)
get_namespace_constants(__NAMESPACE__);

Agree with you on those points. An update can be done on this features.
And of course, it would make sense as you say, because of Closure as a type and __invoke method :)
+1 !

code of conduct - report abuse