PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Advanced Documentation With Reflection In PHP 5

Introduction

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.

In This Article