Hi! > As it stands now, calling a method can mean two different things: > calling the method directly, or handling the method invocation within > __call(). Checking for a method first, a closure instance next, and then > falling through to __call() seems like it would have been a reasonable > approach.
This is the same thing. However, what you mean by "closure instance" is actually a property access, which is not the same thing as method call. Think about what happens if you have both __call and __get (or object implementing both handlers). -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php