Re: Pretokenized files
| From: | Zeev Suraski | Date: | Tue, 27 Jun 2000 15:02:09 +0000 |
| Subject: | Re: Pretokenized files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3347@lists.php.net to get a copy of this message | ||
Just don't use pretokenized scripts, they're 100.00% pointless (spelled
out - they're not quicker and they're not difficult to decipher).
And no, require() doesn't work with pretokenized files.
Zeev
On Tue, 27 Jun 2000, Ermelindo Mauriello wrote:
> I've compiled PHP3-0-12 as built-in apache module, then I've compiled
> a CGI version.
> Using the CGI version I've pretokenized all my PHP3 files (php -p
> filename)
> and obtained PHP3P files.
> Then I've added the line:
> AddType application/x-httpd-php3-preprocessed .php3p
> in httpd.conf to make the built-in module parse the pretokenized files.
> All works fine ... but I've a strange problem with include and require:
>
> require doesn't work at all.
> include "filename.php3p" works but doesn't parse the php3p file, it
> include the
> binary file in the HTML page
>
> include "filename.php3" works but the file to be included must not be
> pretokenized.
>
> Is it right or there is a configuration error ?
>
> Thanks.
>
>
--
Zeev Suraski <zeev@zend.com>
http://www.zend.com/