Phrep is a macro preprocessor for PHP. It handles C-style #define, #if, #else, #include, #pragma directives to conjoin sources files and sections conditionally. It substitutes constants and macros per tokenizer only in code sections, keeps structure and comments intact. Besides standard macros it also supports complex@ syntax transformation callbacks.
phptags automates the normalization of PHP script enclosure tokens. It can alternate between long and short tags, add missing close tags, or dislodge them, and clean up whitespace and Unicode markers surrounding them.
|