Re: cvs: pear /PHP_Compat/Compat/Constant T.php
| From: | Greg Beaver | Date: | Fri, 05 Nov 2004 04:15:14 +0000 |
| Subject: | Re: cvs: pear /PHP_Compat/Compat/Constant T.php | ||
| References: | 1 2 3 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-25693@lists.php.net to get a copy of this message | ||
Aidan Lister wrote:
Ah... I'll check it out Alan, Do you mind if I rip those bits from PHP_Parser, and put you as author?Aidan, The code in PHP_Parser won't be of any use to you. Basically, if T_OLD_FUNCTION doesn't exist, then your user can't use it anyways, as token_name() won't work with it either. It's better to do this: define('T_OLD_FUNCTION', -1); Otherwise, you have to override token_name() - and that ain't possible :) Greg