php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35179 tokenizer extension needs T_HALT_COMPILER
Submitted: 2005-11-10 05:11 UTC Modified: 2005-11-10 08:51 UTC
From: cellog@php.net Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 5CVS-2005-11-10 (CVS) OS: *
Private report: No CVE-ID: None
 [2005-11-10 05:11 UTC] cellog@php.net
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";
 }



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-10 08:51 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 07:01:29 2024 UTC