#
ea231929 |
| 30-Apr-2012 |
Felipe Pena |
- Regenerated files
|
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 |
|
#
c6e15455 |
| 28-Mar-2012 |
Gustavo André dos Santos Lopes |
Revert "- fix bug #61504, fix build errors on windows and possibly other" This reverts commit 74ee335e3aea8c48380334098b8d20eb54d6c6be.
|
#
74ee335e |
| 27-Mar-2012 |
Pierre Joye |
- fix bug #61504, fix build errors on windows and possibly other
|
Revision tags: 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 |
|
#
a1525977 |
| 17-Jan-2012 |
Dmitry Stogov |
Regenerated scanners
|
#
877f97cd |
| 17-Jan-2012 |
Dmitry Stogov |
Regenerated scanners
|
Revision tags: php-5.3.9, php-5.4.0RC5, php-5.3.9RC4, php-5.4.0RC4, php-5.3.9RC3, php-5.4.0RC3, php-5.3.9RC2, php-5.4.0RC2, php-5.4.0RC1, php-5.3.9RC1, php-5.4.0beta2, php-5.4.0beta1 |
|
#
1257328d |
| 13-Sep-2011 |
Dmitry Stogov |
Fixed ZE specific compile warnings (Bug #55629)
|
#
955041e2 |
| 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, php-5.3.7RC5, php-5.4.0alpha3 |
|
#
65cbcb3b |
| 31-Jul-2011 |
Stefan Marr |
Fixed Bug #55214 use of __CLASS__ within trait returns trait name not class name [TRAITS] [DOC]
|
#
88f497f2 |
| 31-Jul-2011 |
Stefan Marr |
Fixed Bug #55214 use of __CLASS__ within trait returns trait name not class name [TRAITS] [DOC]
|
#
0158804a |
| 31-Jul-2011 |
Stefan Marr |
Added __TRAIT__ magic constant [TRAITS] [DOC] # __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits. # Since traits are not types, there are not many valid use cases, an
Added __TRAIT__ magic constant [TRAITS] [DOC] # __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits. # Since traits are not types, there are not many valid use cases, and trying # to use __TRAIT__ to make traits more like classes is discouraged.
show more ...
|
#
dbc6849b |
| 31-Jul-2011 |
Stefan Marr |
Added __TRAIT__ magic constant [TRAITS] [DOC] # __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits. # Since traits are not types, there are not many valid use cases, an
Added __TRAIT__ magic constant [TRAITS] [DOC] # __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits. # Since traits are not types, there are not many valid use cases, and trying # to use __TRAIT__ to make traits more like classes is discouraged.
show more ...
|
Revision tags: php-5.3.7RC4 |
|
#
4d0f1bfe |
| 27-Jul-2011 |
Pierre Joye |
- add binary suport, FR #50638, as defined in RFC https://wiki.php.net/rfc/binnotation4ints, patch by Jonah Harris
|
#
6e4435d6 |
| 27-Jul-2011 |
Pierre Joye |
- add binary suport, FR #50638, as defined in RFC https://wiki.php.net/rfc/binnotation4ints, patch by Jonah Harris
|
#
cc1c7af0 |
| 22-Jul-2011 |
Pierre Joye |
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
|
Revision tags: php-5.3.7RC3, php-5.4.0alpha2, php-5.3.7RC2 |
|
#
72f7be3d |
| 23-Jun-2011 |
Felipe Pena |
- Improved parse error messages
|
#
0372e6ad |
| 23-Jun-2011 |
Felipe Pena |
- Improved parse error messages
|