History log of /PHP-7.1/Zend/zend_language_scanner.l (Results 126 – 150 of 391)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 31203876 30-Apr-2012 Felipe Pena

- Changed last commit to use VK_ESCAPE on Windows


# cc5b995c 29-Apr-2012 Felipe Pena

- Fixed bug #61827 (incorrect \e processing on Windows) patch by: ab@php.net


Revision tags: php-5.3.11, php-5.4.1, php-5.3.11RC2, php-5.4.1RC2
# b233de09 09-Apr-2012 Nikita Popov

Fix bug #61681: Malformed grammar

Generate T_STRING_VARNAME only if it actually is one. This is only the case
for "${varname}" and "${varname[offset]}" so we can just add a check for

Fix bug #61681: Malformed grammar

Generate T_STRING_VARNAME only if it actually is one. This is only the case
for "${varname}" and "${varname[offset]}" so we can just add a check for
} or [ after the LABEL.

show more ...


# 4cf90e06 30-Mar-2012 Nikita Popov

Fix lexing of nested heredoc strings in token_get_all()

This fixes bug #60097.

Before two global variables CG(heredoc) and CG(heredoc_len) were used to
track the current heredoc

Fix lexing of nested heredoc strings in token_get_all()

This fixes bug #60097.

Before two global variables CG(heredoc) and CG(heredoc_len) were used to
track the current heredoc label. In order to support nested heredoc
strings the *previous* heredoc label was assigned as the token value of
T_START_HEREDOC and the language_parser.y assigned that to CG(heredoc).

This created a dependency of the lexer on the parser. Thus the
token_get_all() function, which accesses the lexer directly without
also running the parser, was not able to tokenize nested heredoc strings
(and leaked memory). Same applies for the source-code highlighting
functions.

The new approach is to maintain a heredoc_label_stack in the lexer, which
contains all active heredoc labels.

As it is no longer required, T_START_HEREDOC and T_END_HEREDOC now don't
carry a token value anymore.

In order to make the work with zend_ptr_stack in this context more
convenient I added a new function zend_ptr_stack_top(), which retrieves the
top element of the stack (similar to zend_stack_top()).

show more ...


Revision tags: php-5.3.11RC1, php-5.4.1RC1, PHP-5.4.1-RC1
# 1953161b 02-Mar-2012 Pierrick Charron

Fixed bug #61225 (Lexing 0b0*+<NUM> incorectly)


# f7cd0588 02-Mar-2012 Pierrick Charron

Fixed bug #61225 (Lexing 0b0*+<NUM> incorectly)


Revision tags: php-5.4.0
# c51f7379 20-Feb-2012 Etienne Kneuss

Fix #61095 (Lexing 0x0*+<NUM> incorrectly)


# eefefddc 20-Feb-2012 Etienne Kneuss

Fix #61095 (Lexing 0x0*+<NUM> incorrectly)


# 86fcb965 20-Feb-2012 Etienne Kneuss

Fix #61095 (Lexing 0x0*+<NUM> incorrectly)


Revision tags: php-5.4.0RC8, php-5.3.10, php-5.4.0RC7, php-5.4.0RC6
# b515bfbd 17-Jan-2012 Dmitry Stogov

Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants i

Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants in methods defined in traits are delayed till run-time. This approach also made possible to use __CLASS__ constant as default value for traits properties and method arguments.

show more ...


# 032d140f 17-Jan-2012 Dmitry Stogov

Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants i

Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants in methods defined in traits are delayed till run-time. This approach also made possible to use __CLASS__ constant as default value for traits properties and method arguments.

show more ...


Revision tags: php-5.3.9, php-5.4.0RC5
# bac57c94 01-Jan-2012 Nuno Lopes

fix memory leak in compile_string when there's a parse error (used e.g. in eval or assert)


# a542baa7 01-Jan-2012 Nuno Lopes

fix memory leak in compile_string when there's a parse error (used e.g. in eval or assert)


# 8b23cae1 01-Jan-2012 Nuno Lopes

fix memory leak in compile_string when there's a parse error (used e.g. in eval or assert)


# e4ca0ed0 01-Jan-2012 Felipe Pena

- Year++


# 8775a375 01-Jan-2012 Felipe Pena

- Year++


# 4e198252 01-Jan-2012 Felipe Pena

- Year++


Revision tags: php-5.3.9RC4, php-5.4.0RC4, php-5.3.9RC3, php-5.4.0RC3
# a89f1d3c 30-Nov-2011 Felipe Pena

- Fixed bug #60350 (No string escape code for ESC (ascii 27), normally \e)
patch by: php at mickweiss dot com


# 39708659 30-Nov-2011 Felipe Pena

- Fixed bug #60350 (No string escape code for ESC (ascii 27), normally \e)
patch by: php at mickweiss dot com


Revision tags: php-5.3.9RC2, php-5.4.0RC2, php-5.4.0RC1, php-5.3.9RC1, php-5.4.0beta2, php-5.4.0beta1
# 4a25a774 13-Sep-2011 Dmitry Stogov

Fixed ZE specific compile warnings (Bug #55629)


# e43ff135 13-Sep-2011 Dmitry Stogov

Fixed ZE specific compile warnings (Bug #55629)


Revision tags: yaf-2.1.0, php-5.3.8
# cb8d6198 17-Aug-2011 Etienne Kneuss

Fix bug #55445 (Incomplete implementation of <?= being independant of short_open_tag)


# f6c2b477 17-Aug-2011 Etienne Kneuss

Fix bug #55445 (Incomplete implementation of <?= being independant of short_open_tag)


Revision tags: php-5.3.7
# 306c4202 16-Aug-2011 Hannes Magnusson

Callable typehint following the rules of is_callable($arg, false);


# 550980cf 16-Aug-2011 Hannes Magnusson

Callable typehint following the rules of is_callable($arg, false);


12345678910>>...16