PhpRiot
Articles tagged Reflection

Advanced Documentation With Reflection In PHP 5

In PHP there are many ways to document code. In PHP the most common method is phpdoc and it is widely used all over. However, with the introduction of Reflection in PHP 5, you no longer need source code scanning tools to generate documentation. This article covers one way to extend and modify phpdoc comment syntax and access the data via Reflection and convert it to machine readable XML.