tokenizer and ZE2

From: Date: Tue, 18 Feb 2003 06:00:42 +0000
Subject: tokenizer and ZE2
Groups: php.dev 
Request: Send a blank email to php-dev+get-94316@lists.php.net to get a copy of this message
Hi, are there any plans to update the tokenizer extension to recognize new ZE2 tokens T_ABSTRACT/T_PRIVATE/etc.? This will be very handy for making phpDocumentor PHP 5-ready. Initial investigation suggests all that is needed is to add a few lines like: REGISTER_LONG_CONSTANT("T_ABSTRACT", T_ABSTRACT, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("T_PRIVATE", T_PRIVATE, CONST_CS | CONST_PERSISTENT); etc. and update token_name() Greg

« previous php.dev (#94316) next »