Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | Fix lexing of nested heredoc strings in token_get_all() | Nikita Popov | 2012-03-31 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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()). | ||||
* | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | |||||
* | Fixed ZE specific compile warnings (Bug #55629) | Dmitry Stogov | 2011-09-13 | 1 | -1/+1 |
| | |||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | - Avoid allocating extra buffers. This makes parsing with zend.multibyte ↵ | Moriyoshi Koizumi | 2010-12-20 | 1 | -2/+0 |
| | | | | enabled as fast as with it disabled. | ||||
* | * Refactor zend_multibyte facility. | Moriyoshi Koizumi | 2010-12-19 | 1 | -2/+5 |
| | | | | | Now mbstring.script_encoding is superseded by zend.script_encoding. | ||||
* | Added multibyte suppport by default. Previosly php had to be compiled with ↵ | Dmitry Stogov | 2010-11-24 | 1 | -2/+0 |
| | | | | --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini | ||||
* | sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-05 | 1 | -1/+1 |
| | |||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | - Revived zend multibyte | Moriyoshi Koizumi | 2008-07-24 | 1 | -4/+4 |
| | |||||
* | implemented again zend-multibyte for PHP 5.3 | Rui Hirokawa | 2008-06-29 | 1 | -0/+16 |
| | |||||
* | - Rewrite scanner to be based on re2c instead of flex | Marcus Boerger | 2008-03-16 | 1 | -19/+9 |
| | | | | | | | | | The full patch is available as: http://php.net/~helly/php-re2c-5.3-20080316.diff.txt This is against php-re2c repository version 98 An older patch against version 97 is available under: http://php.net/~helly/php-re2c-97-20080316.diff.txt | ||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | - Update copyright notices to 2006 | Andi Gutmans | 2006-01-04 | 1 | -1/+1 |
| | |||||
* | Bump up the year | foobar | 2005-08-03 | 1 | -1/+1 |
| | |||||
* | Nuke compile warning by using the LANG_SCNG macro instead | foobar | 2004-01-17 | 1 | -1/+0 |
| | |||||
* | TSRMLS fix | Wez Furlong | 2004-01-11 | 1 | -1/+1 |
| | |||||
* | - This should fix the problem of conditional function decleration on the | Andi Gutmans | 2004-01-11 | 1 | -0/+2 |
| | | | | | | - same line of code not to work. You should re-evaluate your coding style - if you really code this way :) | ||||
* | - Happy new year and PHP 5 for rest of the files too.. | foobar | 2004-01-08 | 1 | -1/+1 |
| | | | | | # Should the LICENSE and Zend/LICENSE dates be updated too? | ||||
* | - added script encoding support to Zend Engine 2. | Masaki Fujimoto | 2003-08-11 | 1 | -0/+16 |
| | | | | | | | this enables ZE2 to gracefully parse scripts written in UTF-8 (with BOM), UTF-16, UTF-32, Shift_JIS, ISO-2022-JP etc... (when configured with '--enable-zend-multibyte' and '--enable-mbstring') | ||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -1/+1 |
| | |||||
* | Implement simple stream support in the ZE scanners. | Wez Furlong | 2003-02-18 | 1 | -1/+1 |
| | |||||
* | - Added some missing CVS $Id$ tags, headers and footers. | foobar | 2003-02-01 | 1 | -0/+9 |
| | |||||
* | Bump year. | Sebastian Bergmann | 2002-12-31 | 1 | -1/+1 |
| | |||||
* | Happy New Year. | Sebastian Bergmann | 2002-01-06 | 1 | -1/+1 |
| | |||||
* | MFZE1 | Zeev Suraski | 2001-12-18 | 1 | -0/+3 |
| | |||||
* | Update headers. | Sebastian Bergmann | 2001-12-11 | 1 | -2/+2 |
| | |||||
* | MFZE1 (nuke cplusplus code) | Zeev Suraski | 2001-09-10 | 1 | -17/+0 |
| | |||||
* | Merge from branch - move to standard C scanners in thread safe mode | Zeev Suraski | 2001-08-06 | 1 | -2/+2 |
| | |||||
* | Redesigned thread safety mechanism - nua nua | Zeev Suraski | 2001-07-28 | 1 | -1/+1 |
| | |||||
* | Fix an inline | Zeev Suraski | 2001-07-15 | 1 | -1/+0 |
| | |||||
* | - Update copyright year | Andi Gutmans | 2001-02-26 | 1 | -1/+1 |
| | |||||
* | Unify the names of these last 3 files... | Zeev Suraski | 2000-10-29 | 1 | -0/+56 |