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
Dmitry Stogov
80d2409fd8
Improved compilation of heredocs and interpolated strings. (Matt, Dmitry)
2007-05-18 13:12:05 +00:00
Antony Dovgal
f6cef916bc
MFH: fix #41118 (PHP does not handle overflow of octal integers)
2007-04-22 21:33:10 +00:00
Marcus Boerger
50ea26760d
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
2007-02-24 02:17:47 +00:00
Dmitry Stogov
0291ad5fa6
Fixed bug #40236 (php -a function allocation eats memory)
2007-02-15 10:38:28 +00:00
Ilia Alshanetsky
4383f51c44
Syntax highlighting fix for hex numbers.
...
# Patch by Matt Wilmas
2007-01-18 23:28:08 +00:00
Andrei Zmievski
39fa36a0be
Fix 'b' prefix in highlighting and tokenizer. (Matt W)
2007-01-09 17:37:53 +00:00
Ilia Alshanetsky
ff9d0fcc78
is_numeric_string() optimization
...
# Original Patch by Matt Wilmas
2006-12-26 16:44:20 +00:00
Andrei Zmievski
0d7af28a40
More correct patch for b-prefixes.
2006-12-20 18:22:07 +00:00
Andrei Zmievski
16ea2ee640
Support 'b' prefix in front of string literals for forward compatibility
...
with PHP 6.
2006-12-19 17:26:17 +00:00
Antony Dovgal
090215cc7f
nullify opened_path and filename (when required)
...
fixes invalid reads with `php-cli -F <script>`
2006-11-23 22:04:54 +00:00
Derick Rethans
140edac7f9
- Forward port the binary cast, which will do the same as the string cast in
...
PHP 5.2.
2006-11-10 12:02:51 +00:00
Dmitry Stogov
67abcb58c3
Fixed bug #36513 (comment will be outputed in last line)
2006-04-13 13:48:28 +00:00
Dmitry Stogov
0f4302b872
Fixed bug #36037 (heredoc adds extra line number)
2006-01-17 09:39:57 +00:00
Andi Gutmans
61e93ccfe8
- Update copyright notices to 2006
2006-01-04 23:53:05 +00:00
Ilia Alshanetsky
3ce27140dc
Fixed bug #35655 (whitespace following end of heredoc is lost).
2005-12-13 20:55:42 +00:00
Ilia Alshanetsky
3d4c1d6886
Improve fix for bug #35382
2005-12-08 03:09:14 +00:00