Practical uses of PHP’s Reflection API
While I’ve been working on my CM framework, I came to realize how useful PHP’s Reflection actually is during development.
So I wrote two examples: php-highlight, which displays caller source in my custom exception handler, and php-ref, which prints detailed and nicely formatted information about a variable, for example:
If you’re a plugin developer (for any PHP app), these would save you some development time, which you normally use to google around documentation for a function or class