From: [EMAIL PROTECTED]
Operating system: n/a
PHP version: 5CVS-2005-11-10 (CVS)
PHP Bug Type: Unknown/Other Function
Bug description: tokenizer extension needs T_HALT_COMPILER
Description:
------------
Index: tokenizer.c
===================================================================
RCS file: /repository/php-src/ext/tokenizer/tokenizer.c,v
retrieving revision 1.31.2.1
diff -u -r1.31.2.1 tokenizer.c
--- tokenizer.c 21 Oct 2005 09:32:40 -0000 1.31.2.1
+++ tokenizer.c 10 Nov 2005 04:09:37 -0000
@@ -282,6 +282,7 @@
REGISTER_LONG_CONSTANT("T_THROW", T_THROW, CONST_CS |
CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("T_TRY", T_TRY, CONST_CS |
CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("T_CLONE", T_CLONE, CONST_CS |
CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("T_HALT_COMPILER", T_HALT_COMPILER,
CONST_CS | CONST_PERSISTENT);
return SUCCESS;
}
@@ -495,6 +496,7 @@
case T_THROW: return "T_THROW";
case T_TRY: return "T_TRY";
case T_CLONE: return "T_CLONE";
+ case T_HALT_COMPILER: return "T_HALT_COMPILER";
}
return "UNKNOWN";
}
--
Edit bug report at http://bugs.php.net/?id=35179&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35179&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=35179&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=35179&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35179&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35179&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35179&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35179&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35179&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35179&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35179&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=35179&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=35179&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35179&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35179&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35179&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35179&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35179&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35179&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35179&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35179&r=mysqlcfg