Ilia Alshanetsky
3f5ad237e1
Fixed Bug #53629 (memory leak inside highlight_string()).
2011-01-03 14:39:48 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Pierre Joye
7b27de9f0b
- NULL deref fix, patch by Gustavo
2010-11-17 16:46:19 +00:00
Felipe Pena
4e606e3ceb
- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
2010-06-30 02:45:10 +00:00
Felipe Pena
96bb25e8e7
- Reverted fix for bug #48930 (due binary compatibility breakage)
2010-06-29 11:37:13 +00:00
Felipe Pena
9b07568c43
- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
2010-06-27 21:46:16 +00:00
Sebastian Bergmann
3defe76254
sed -i "s#1998-2009#1998-2010#g" **/*.re **/*.y **/*.l
2010-01-05 20:40:23 +00:00
Felipe Pena
5dd6b9ffa9
- Fixed bug #50145 (crash while running bug35634.phpt)
2009-11-17 11:18:40 +00:00
Matt Wilmas
09034cf3f4
MFH: Implemented manual scanning for strings/comments, plus misc. fixes
2009-05-05 01:35:44 +00:00
Dmitry Stogov
7ef3db0e4e
Fixed bug #47516 (nowdoc can not be embed in heredoc but can be embed in double quote)
2009-03-26 12:37:54 +00:00
Dmitry Stogov
bcd9099b28
Fixed bug #47038 (Memory leak in include)
2009-03-25 15:23:58 +00:00
Brian Shire
dd031eee68
MFH: Fix scanner handling of NULL values in heredoc, nowdoc, strings, comments, and non-parsed content.
2009-03-16 01:40:14 +00:00
Brian Shire
9c16bfa194
MFH: Add proper EOF handling for language scanner. Fixes bug #46817 .
2009-03-11 22:11:53 +00:00
Ilia Alshanetsky
71ea95354b
MFH: Corrected fix for bug #46844 to only trigger on the 1st line of CLI
...
opened files.
2009-01-09 17:21:12 +00:00
Felipe Pena
bfcea7ffa8
- MFH: Year++
2009-01-02 20:45:43 +00:00
Ilia Alshanetsky
fec58a89ee
Fixed bug #46844 (php scripts or included files with first line starting
...
with # have the 1st line missed from the output).
2009-01-01 20:16:24 +00:00
Marcus Boerger
7126de4912
- Next step in namespaces, using / as namespace separator.
2008-11-04 15:58:55 +00:00
Felipe Pena
85ab423565
- MFH: Removed some TSRMLS_FETCH()s
2008-08-15 19:47:33 +00:00
Dmitry Stogov
05376077b3
Fixed bug #45779 (regression with shebang lines processing)
2008-08-12 16:43:53 +00:00
Felipe Pena
555a9b0768
- MFH: Fixed BC break: The magic constants must be case-insensitive.
2008-07-30 01:25:49 +00:00
Moriyoshi Koizumi
b9eaa80150
- SCNG(input_filter) can be null if the script encoding is idential to
...
the internal encoding.
2008-07-28 07:01:54 +00:00
Moriyoshi Koizumi
1782511e72
- WS
2008-07-28 06:05:14 +00:00
Moriyoshi Koizumi
a28497d6e5
- Fix __halt_compiler() weirdness with zend-mulibyte enabled
2008-07-28 05:59:17 +00:00
Dmitry Stogov
478acfd8b4
. Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
...
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt)
. Optimized interpolated strings to use one less opcode. (Matt)
2008-07-26 15:30:28 +00:00
Moriyoshi Koizumi
20bca30d04
- No need to advance the cursor
2008-07-24 23:53:42 +00:00
Moriyoshi Koizumi
4f42ed39c0
- Revived zend multibyte
2008-07-24 22:21:41 +00:00
Nuno Lopes
b8673e35a0
now really fix once and for all the #-style comments.
...
also remove some duplicated code in <?, <%, <%= handlers. this also has the side-effect of producing better bytecodes in some special cases
2008-07-08 15:16:35 +00:00
Nuno Lopes
ea11f6df43
fix last part of bug #44654
2008-07-06 16:20:51 +00:00
Nuno Lopes
3ba706cc62
fix first part of bug #44654 : scan for opening tag <? after a # char
2008-07-06 15:53:23 +00:00
Rui Hirokawa
e59fb93765
update zend_language_scanner.l to maintain the dependencies.
2008-06-29 11:20:18 +00:00
Rui Hirokawa
c3286f32ef
implemented again zend-multibyte for PHP 5.3
2008-06-29 08:21:35 +00:00
Matt Wilmas
c83d916a98
MFH: Restore end check for "escape" strings
2008-05-10 09:17:29 +00:00
Matt Wilmas
c4e406d24d
MFH: Fix loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc)
2008-05-09 10:27:51 +00:00
Nuno Lopes
7507ff326e
fix heredoc+nowdoc
...
#patch by Matt Wilmas
2008-04-10 19:19:04 +00:00
Nuno Lopes
cfc1756221
fix the yyless() definition to match flex one and revert part of last patch (so that it remains similar with flex's scan)
2008-04-09 22:01:20 +00:00
Scott MacVicar
6f20cea6d8
Fixes to heredoc and cleanup of new re2c scanner. (Patch by Matt Wilmas)
2008-04-09 20:50:58 +00:00
Felipe Pena
b9d13d8f17
- Allow HEREDOC syntax with double quotes
...
(http://wiki.php.net/rfc/heredoc-with-double-quotes )
2008-04-05 22:29:08 +00:00
Nuno Lopes
bfcdbbcd33
add sanity checks for ZEND_MMAP_AHEAD and reduce the value from 32 to 16 (lowest safe value)
2008-04-04 15:01:23 +00:00
Felipe Pena
f66f55edc5
MFH: Implemented "jump label" operator (limited "goto")
...
[DOC]
2008-03-28 14:35:01 +00:00
Marcus Boerger
0893c3e2c9
- Another re2c version bump and scanner regeneration
...
# It appears no one has used re2c in the way we do
2008-03-22 17:59:52 +00:00
Marcus Boerger
07e3598762
- Fix YYFILL()
2008-03-21 18:47:26 +00:00
Marcus Boerger
af316021e8
- Rewrite scanner to be based on re2c instead of flex
...
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
2008-03-16 21:06:55 +00:00
Dmitry Stogov
ddcf7a2f49
Added NEWDOC
2008-02-12 09:27:45 +00:00
Stanislav Malyshev
fd597dce1b
[DOC] Add compile-time __DIR__ constant which implements dirname(__FILE__)
2008-02-12 00:21:15 +00:00
Dmitry Stogov
fa47e900e2
Changed exception handling. Now each op_array doesn't contain ZEND_HANDLE_EXCEPTION opcode in the end
2008-01-21 19:39:55 +00:00
Dmitry Stogov
b7d87bebc9
T_IMPORT -> T_USE
2007-11-07 09:13:50 +00:00
Yiduo (David) Wang
4b4d634cb9
MFH: Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:22:07 +00:00
Dmitry Stogov
f32ffe9b43
Namespaces
2007-09-28 19:52:53 +00:00
Ilia Alshanetsky
8ff31493b7
Fixed bug #42590 (Make the engine recornize \v and \f escape sequences)
2007-09-09 16:33:34 +00:00
Dmitry Stogov
9bca44df22
Impoved error reporting on parser errors (Matt, Dmitry)
2007-05-24 08:56:35 +00:00