images/logo.png

1. Introduction

PHP_Reflect adds the ability to reverse-engineer classes, interfaces, functions, constants, namespaces and more.

Why PHP_Reflect is different to standard PHP5 Reflection API ?

With PHP5 Reflection API the code to analyze needs to be loaded and interpreted by the php interpreter, and in certain cases, this triggers fatal errors.

With PHP_Reflect you don’t have to trust in source code, because it will be parsed with tokenizer extension.

2. Overview

Features

3. Documentation

The PHP_Reflect manual is available in a selection of formats. Pick a format from the table below to start downloading.

Language Single HTML file Many HTML files HTML Help file PDF A4 file PDF US file EPUB file

English

phpreflect-book.html.zip 54 Kb

phpreflect-book.chunked.zip 44 Kb

phpreflect-book.chm.zip 40 Kb

phpreflect-book-a4.pdf 75 Kb

phpreflect-book-us.pdf 75 Kb

phpreflect-book.epub.zip 33Kb

4. Appendix A: Examples

Scan a simple file

5. Appendix B: Changelog

History of changes

6. Appendix C: License

Released under the BSD license, you are free to do whatever you want, even in a commercial environment. You are also encouraged to contribute.

7. Appendix D: Credits

Sebastian Bergmann

Original author of PHPUnit/PHP_Token_Stream, that show me the way with his base concept to produce an extendable package .

https://github.com/sebastianbergmann/

All pages of this site, and user guide were generated with AsciiDoc 8.6.8, assisted by FOP 1.0 (for PDFs). Automated build process uses Phing 2.4.12

Convert the HTML Help source (.hhp and .html) files to HTML Help (.chm) files using the Microsoft HTML Help Compiler.