History log of /PHP-8.3/Zend/zend_language_scanner.l (Results 276 – 300 of 540)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 3336e1e7 20-Aug-2012 Stanislav Malyshev

Merge branch 'pull-request/31'

* pull-request/31:
Fix lexing of nested heredoc strings in token_get_all()


Revision tags: php-5.3.16, php-5.4.6
# f4ce3646 13-Aug-2012 Nikita Popov

Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport

This is just an intial merge. It does not yet make generators and finally
work together.

Conflicts:

Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport

This is just an intial merge. It does not yet make generators and finally
work together.

Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
Zend/zend_vm_execute.skl
Zend/zend_vm_opcodes.h

show more ...


# 80d5ae3c 13-Aug-2012 Xinchen Hui

Implemented 'finally' keywords for php

RFC: https://wiki.php.net/rfc/finally
FR: https://bugs.php.net/bug.php?id=32100
and I have got some improvment ideas(performance), will impleme

Implemented 'finally' keywords for php

RFC: https://wiki.php.net/rfc/finally
FR: https://bugs.php.net/bug.php?id=32100
and I have got some improvment ideas(performance), will implemented
later. thanks

show more ...

Revision tags: php-5.4.6RC1, php-5.4.5, php-5.3.15, php-5.3.15RC1, php-5.4.5RC1, php-5.3.14, php-5.4.4, php-5.3.14RC2, php-5.4.4RC2, php-5.3.14RC1, php-5.4.4RC1
# 9b101ac8 15-May-2012 Nikita Popov

Add T_YIELD "yield" keyword

Revision tags: php-5.3.13, php-5.4.3, php-5.4.2, php-5.3.12
# 45ef3c75 30-Apr-2012 Felipe Pena

Merge branch 'PHP-5.4'

* PHP-5.4:
- Fixed Windows build


# 79961dcc 30-Apr-2012 Felipe Pena

- Fixed Windows build

# 73b61509 30-Apr-2012 Felipe Pena

Merge branch 'PHP-5.4'

* PHP-5.4:
- Changed last commit to use VK_ESCAPE on Windows


# 31203876 30-Apr-2012 Felipe Pena

- Changed last commit to use VK_ESCAPE on Windows

# bbe9eec9 29-Apr-2012 Felipe Pena

Merge branch 'PHP-5.4'

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


# 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)

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
# 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)

# 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)

1...<<11121314151617181920>>...22