21#include <zend_language_parser.h>
52 const unsigned char *
ptr = (
const unsigned char*)
s, *
end =
ptr +
len;
53 unsigned char *filtered =
NULL;
59 end = filtered + filtered_len;
85 zend_printf(
"<pre><code style=\"color: %s\">", last_color);
129 if (last_color != next_color) {
133 last_color = next_color;
135 zend_printf(
"<span style=\"color: %s\">", last_color);
142 switch (token_type) {
151 zval_ptr_dtor_str(&token);
174 switch (token_type) {
203 switch (token_type) {
213 zval_ptr_dtor_str(&token);
unsigned const char * end
const T_OPEN_TAG_WITH_ECHO
const T_CONSTANT_ENCAPSED_STRING
const T_ENCAPSED_AND_WHITESPACE
ZEND_API size_t(* zend_printf)(const char *format,...)
ZEND_API zend_write_func_t zend_write
ZEND_API int ZEND_FASTCALL lex_scan(zval *zendlval, zend_parser_stack_elem *elem)
ZEND_API void zend_clear_exception(void)
ZEND_API void zend_html_puts(const char *s, size_t len)
ZEND_API void zend_highlight(zend_syntax_highlighter_ini *syntax_highlighter_ini)
ZEND_API void zend_html_putc(char c)
ZEND_API void zend_strip(void)
zend_syntax_highlighter_ini syntax_highlighter_ini
struct _zend_syntax_highlighter_ini zend_syntax_highlighter_ini