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.
ability to reverse-engineer classes
ability to reverse-engineer traits
ability to reverse-engineer interfaces
ability to reverse-engineer functions
ability to reverse-engineer constants
ability to reverse-engineer namespaces
ability to reverse-engineer includes
ability to reverse-engineer globals variables
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.chm.zip 40 Kb |
phpreflect-book-a4.pdf 75 Kb |
phpreflect-book-us.pdf 75 Kb |
Released under the BSD license, you are free to do whatever you want, even in a commercial environment. You are also encouraged to contribute.
Original author of PHPUnit/PHP_Token_Stream, that show me the way with his base concept to produce an extendable package .
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.