Re: userland macros
| From: | Wojtek Meler | Date: | Mon, 18 Aug 2003 19:09:56 +0000 |
| Subject: | Re: userland macros | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4069@lists.php.net to get a copy of this message | ||
Cristiano Duarte wrote:
Is possible to implement userland macros in a PHP extension or it can only be implemented in the core? I know that macros is a preprocessor task and I think PHP has no preprocessor (does it?). So it's possible to implement a preprocessor ?I think you can use stream wrappers with some limitations (definitions should be in different file than their use). Regards, Wojtek