I saw a piece of code earlier this week (which, unfortunately, I am unable to retrieve) and I am curious about the way the author went about implementing the __call()<
You can find this in the phpsavant template classes. PMJ got a tip about how slow call_user_func*() and figured that 90% of the work would be handled by the first five params much faster. Anything else would be handled the slow way. I can't find the post with the discussion about how, but this is the page where he identifies the problem. http://paul-m-jones.com/archives/182