History log of /PHP_5_3/Zend/zend_language_scanner.l
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
831fbcf 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/PHP_5_3/Zend/zend_language_scanner.l
b477a84 28-Jul-2012 Xinchen Hui <laruence@php.net> Fixed bug #60194 for eavl

same reason here
/PHP_5_3/Zend/zend_language_scanner.l
ef7286a 27-Jul-2012 Xinchen Hui <laruence@php.net> Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php)

It's not a big deal, just because lexer will read the char after cursor before leaving
/PHP_5_3/Zend/zend_language_scanner.l
86fcb96 20-Feb-2012 Etienne Kneuss <colder@php.net> Fix #61095 (Lexing 0x0*+<NUM> incorrectly)
/PHP_5_3/Zend/zend_language_scanner.l
bac57c9 01-Jan-2012 Nuno Lopes <nlopess@php.net> fix memory leak in compile_string when there's a parse error (used e.g. in eval or assert)
/PHP_5_3/Zend/zend_language_scanner.l
e4ca0ed 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/PHP_5_3/Zend/zend_language_scanner.l
3f5ad23 03-Jan-2011 Ilia Alshanetsky <iliaa@php.net> Fixed Bug #53629 (memory leak inside highlight_string()).
/PHP_5_3/Zend/zend_language_scanner.l
927bf09 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/PHP_5_3/Zend/zend_language_scanner.l
7b27de9 17-Nov-2010 Pierre Joye <pajoye@php.net> - NULL deref fix, patch by Gustavo
/PHP_5_3/Zend/zend_language_scanner.l
4e606e3 30-Jun-2010 Felipe Pena <felipe@php.net> - Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
/PHP_5_3/Zend/zend_language_scanner.l
96bb25e 29-Jun-2010 Felipe Pena <felipe@php.net> - Reverted fix for bug #48930 (due binary compatibility breakage)
/PHP_5_3/Zend/zend_language_scanner.l
9b07568 27-Jun-2010 Felipe Pena <felipe@php.net> - Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
/PHP_5_3/Zend/zend_language_scanner.l
3defe76 05-Jan-2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1998-2009#1998-2010#g" **/*.re **/*.y **/*.l
/PHP_5_3/Zend/zend_language_scanner.l
5dd6b9f 17-Nov-2009 Felipe Pena <felipe@php.net> - Fixed bug #50145 (crash while running bug35634.phpt)
/PHP_5_3/Zend/zend_language_scanner.l
09034cf 05-May-2009 Matt Wilmas <mattwil@php.net> MFH: Implemented manual scanning for strings/comments, plus misc. fixes
/PHP_5_3/Zend/zend_language_scanner.l
7ef3db0 26-Mar-2009 Dmitry Stogov <dmitry@php.net> Fixed bug #47516 (nowdoc can not be embed in heredoc but can be embed in double quote)
/PHP_5_3/Zend/zend_language_scanner.l
bcd9099 25-Mar-2009 Dmitry Stogov <dmitry@php.net> Fixed bug #47038 (Memory leak in include)
/PHP_5_3/Zend/zend_language_scanner.l
dd031ee 16-Mar-2009 Brian Shire <shire@php.net> MFH: Fix scanner handling of NULL values in heredoc, nowdoc, strings, comments, and non-parsed content.
/PHP_5_3/Zend/zend_language_scanner.l
9c16bfa 11-Mar-2009 Brian Shire <shire@php.net> MFH: Add proper EOF handling for language scanner. Fixes bug #46817.
/PHP_5_3/Zend/zend_language_scanner.l
71ea953 09-Jan-2009 Ilia Alshanetsky <iliaa@php.net> MFH: Corrected fix for bug #46844 to only trigger on the 1st line of CLI
opened files.
/PHP_5_3/Zend/zend_language_scanner.l
bfcea7f 02-Jan-2009 Felipe Pena <felipe@php.net> - MFH: Year++
/PHP_5_3/Zend/zend_language_scanner.l
fec58a8 01-Jan-2009 Ilia Alshanetsky <iliaa@php.net> Fixed bug #46844 (php scripts or included files with first line starting
with # have the 1st line missed from the output).
/PHP_5_3/Zend/zend_language_scanner.l
7126de4 04-Nov-2008 Marcus Boerger <helly@php.net> - Next step in namespaces, using / as namespace separator.
/PHP_5_3/Zend/zend_language_scanner.l
85ab423 15-Aug-2008 Felipe Pena <felipe@php.net> - MFH: Removed some TSRMLS_FETCH()s
/PHP_5_3/Zend/zend_language_scanner.l
0537607 12-Aug-2008 Dmitry Stogov <dmitry@php.net> Fixed bug #45779 (regression with shebang lines processing)
/PHP_5_3/Zend/zend_language_scanner.l
555a9b0 30-Jul-2008 Felipe Pena <felipe@php.net> - MFH: Fixed BC break: The magic constants must be case-insensitive.
/PHP_5_3/Zend/zend_language_scanner.l
b9eaa80 28-Jul-2008 Moriyoshi Koizumi <moriyoshi@php.net> - SCNG(input_filter) can be null if the script encoding is idential to
the internal encoding.
/PHP_5_3/Zend/zend_language_scanner.l
1782511 28-Jul-2008 Moriyoshi Koizumi <moriyoshi@php.net> - WS
/PHP_5_3/Zend/zend_language_scanner.l
a28497d 28-Jul-2008 Moriyoshi Koizumi <moriyoshi@php.net> - Fix __halt_compiler() weirdness with zend-mulibyte enabled
/PHP_5_3/Zend/zend_language_scanner.l
478acfd 26-Jul-2008 Dmitry Stogov <dmitry@php.net> . 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)
/PHP_5_3/Zend/zend_language_scanner.l
20bca30 24-Jul-2008 Moriyoshi Koizumi <moriyoshi@php.net> - No need to advance the cursor
/PHP_5_3/Zend/zend_language_scanner.l
4f42ed3 24-Jul-2008 Moriyoshi Koizumi <moriyoshi@php.net> - Revived zend multibyte
/PHP_5_3/Zend/zend_language_scanner.l
b8673e3 08-Jul-2008 Nuno Lopes <nlopess@php.net> 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
/PHP_5_3/Zend/zend_language_scanner.l
ea11f6d 06-Jul-2008 Nuno Lopes <nlopess@php.net> fix last part of bug #44654
/PHP_5_3/Zend/zend_language_scanner.l
3ba706c 06-Jul-2008 Nuno Lopes <nlopess@php.net> fix first part of bug #44654: scan for opening tag <? after a # char
/PHP_5_3/Zend/zend_language_scanner.l
e59fb93 29-Jun-2008 Rui Hirokawa <hirokawa@php.net> update zend_language_scanner.l to maintain the dependencies.
/PHP_5_3/Zend/zend_language_scanner.l
c3286f3 29-Jun-2008 Rui Hirokawa <hirokawa@php.net> implemented again zend-multibyte for PHP 5.3
/PHP_5_3/Zend/zend_language_scanner.l
c83d916 10-May-2008 Matt Wilmas <mattwil@php.net> MFH: Restore end check for "escape" strings
/PHP_5_3/Zend/zend_language_scanner.l
c4e406d 09-May-2008 Matt Wilmas <mattwil@php.net> MFH: Fix loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc)
/PHP_5_3/Zend/zend_language_scanner.l
7507ff3 10-Apr-2008 Nuno Lopes <nlopess@php.net> fix heredoc+nowdoc
#patch by Matt Wilmas
/PHP_5_3/Zend/zend_language_scanner.l
cfc1756 09-Apr-2008 Nuno Lopes <nlopess@php.net> fix the yyless() definition to match flex one and revert part of last patch (so that it remains similar with flex's scan)
/PHP_5_3/Zend/zend_language_scanner.l
6f20cea 09-Apr-2008 Scott MacVicar <scottmac@php.net> Fixes to heredoc and cleanup of new re2c scanner. (Patch by Matt Wilmas)
/PHP_5_3/Zend/zend_language_scanner.l
b9d13d8 05-Apr-2008 Felipe Pena <felipe@php.net> - Allow HEREDOC syntax with double quotes
(http://wiki.php.net/rfc/heredoc-with-double-quotes)
/PHP_5_3/Zend/zend_language_scanner.l
bfcdbbc 04-Apr-2008 Nuno Lopes <nlopess@php.net> add sanity checks for ZEND_MMAP_AHEAD and reduce the value from 32 to 16 (lowest safe value)
/PHP_5_3/Zend/zend_language_scanner.l
f66f55e 28-Mar-2008 Felipe Pena <felipe@php.net> MFH: Implemented "jump label" operator (limited "goto")
[DOC]
/PHP_5_3/Zend/zend_language_scanner.l
0893c3e 22-Mar-2008 Marcus Boerger <helly@php.net> - Another re2c version bump and scanner regeneration
# It appears no one has used re2c in the way we do
/PHP_5_3/Zend/zend_language_scanner.l
07e3598 21-Mar-2008 Marcus Boerger <helly@php.net> - Fix YYFILL()
/PHP_5_3/Zend/zend_language_scanner.l
af31602 16-Mar-2008 Marcus Boerger <helly@php.net> - 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
/PHP_5_3/Zend/zend_language_scanner.l
ddcf7a2 12-Feb-2008 Dmitry Stogov <dmitry@php.net> Added NEWDOC
/PHP_5_3/Zend/zend_language_scanner.l
fd597dc 12-Feb-2008 Stanislav Malyshev <stas@php.net> [DOC] Add compile-time __DIR__ constant which implements dirname(__FILE__)
/PHP_5_3/Zend/zend_language_scanner.l
fa47e90 21-Jan-2008 Dmitry Stogov <dmitry@php.net> Changed exception handling. Now each op_array doesn't contain ZEND_HANDLE_EXCEPTION opcode in the end
/PHP_5_3/Zend/zend_language_scanner.l
b7d87be 07-Nov-2007 Dmitry Stogov <dmitry@php.net> T_IMPORT -> T_USE
/PHP_5_3/Zend/zend_language_scanner.l
4b4d634 07-Oct-2007 Yiduo (David) Wang <davidw@php.net> MFH: Added macros for managing zval refcounts and is_ref statuses
/PHP_5_3/Zend/zend_language_scanner.l
f32ffe9 28-Sep-2007 Dmitry Stogov <dmitry@php.net> Namespaces
/PHP_5_3/Zend/zend_language_scanner.l
8ff3149 09-Sep-2007 Ilia Alshanetsky <iliaa@php.net> Fixed bug #42590 (Make the engine recornize \v and \f escape sequences)
/PHP_5_3/Zend/zend_language_scanner.l
9bca44d 24-May-2007 Dmitry Stogov <dmitry@php.net> Impoved error reporting on parser errors (Matt, Dmitry)
/PHP_5_3/Zend/zend_language_scanner.l
80d2409 18-May-2007 Dmitry Stogov <dmitry@php.net> Improved compilation of heredocs and interpolated strings. (Matt, Dmitry)
/PHP_5_3/Zend/zend_language_scanner.l
f6cef91 22-Apr-2007 Antony Dovgal <tony2001@php.net> MFH: fix #41118 (PHP does not handle overflow of octal integers)
/PHP_5_3/Zend/zend_language_scanner.l
50ea267 24-Feb-2007 Marcus Boerger <helly@php.net> - Avoid sprintf, even when checked copy'n'paste or changes lead to errors
/PHP_5_3/Zend/zend_language_scanner.l
0291ad5 15-Feb-2007 Dmitry Stogov <dmitry@php.net> Fixed bug #40236 (php -a function allocation eats memory)
/PHP_5_3/Zend/zend_language_scanner.l
4383f51 18-Jan-2007 Ilia Alshanetsky <iliaa@php.net> Syntax highlighting fix for hex numbers.

# Patch by Matt Wilmas
/PHP_5_3/Zend/zend_language_scanner.l
39fa36a 09-Jan-2007 Andrei Zmievski <andrei@php.net> Fix 'b' prefix in highlighting and tokenizer. (Matt W)
/PHP_5_3/Zend/zend_language_scanner.l
ff9d0fc 26-Dec-2006 Ilia Alshanetsky <iliaa@php.net> is_numeric_string() optimization

# Original Patch by Matt Wilmas
/PHP_5_3/Zend/zend_language_scanner.l
0d7af28 20-Dec-2006 Andrei Zmievski <andrei@php.net> More correct patch for b-prefixes.
/PHP_5_3/Zend/zend_language_scanner.l
16ea2ee 19-Dec-2006 Andrei Zmievski <andrei@php.net> Support 'b' prefix in front of string literals for forward compatibility
with PHP 6.
/PHP_5_3/Zend/zend_language_scanner.l
090215c 23-Nov-2006 Antony Dovgal <tony2001@php.net> nullify opened_path and filename (when required)
fixes invalid reads with `php-cli -F <script>`
/PHP_5_3/Zend/zend_language_scanner.l
140edac 10-Nov-2006 Derick Rethans <derick@php.net> - Forward port the binary cast, which will do the same as the string cast in
PHP 5.2.
/PHP_5_3/Zend/zend_language_scanner.l
67abcb5 13-Apr-2006 Dmitry Stogov <dmitry@php.net> Fixed bug #36513 (comment will be outputed in last line)
/PHP_5_3/Zend/zend_language_scanner.l
0f4302b 17-Jan-2006 Dmitry Stogov <dmitry@php.net> Fixed bug #36037 (heredoc adds extra line number)
/PHP_5_3/Zend/zend_language_scanner.l
61e93cc 04-Jan-2006 Andi Gutmans <andi@php.net> - Update copyright notices to 2006
/PHP_5_3/Zend/zend_language_scanner.l
3ce2714 13-Dec-2005 Ilia Alshanetsky <iliaa@php.net> Fixed bug #35655 (whitespace following end of heredoc is lost).
/PHP_5_3/Zend/zend_language_scanner.l
3d4c1d6 08-Dec-2005 Ilia Alshanetsky <iliaa@php.net> Improve fix for bug #35382
/PHP_5_3/Zend/zend_language_scanner.l
497fae9 27-Nov-2005 Ilia Alshanetsky <iliaa@php.net> Fixed bug #35411 (Regression with \{$ handling).
Fixed bug #35382 (Comment in end of file produces fatal error).
/PHP_5_3/Zend/zend_language_scanner.l
46ae03d 26-Nov-2005 Marcus Boerger <helly@php.net> - MFH Fix bug #35406 eval hangs when evall'ed code ends with comment w/o newline
/PHP_5_3/Zend/zend_language_scanner.l
19ea8ab 21-Nov-2005 Marcus Boerger <helly@php.net> - MFH Fixed Bug #35286 tokenizer ext drops final comment (by greg)
/PHP_5_3/Zend/zend_language_scanner.l
a8c6b99 15-Nov-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #35147 (__HALT_COMPILER() breaks with --enable-zend-multibyte)
/PHP_5_3/Zend/zend_language_scanner.l
187b6cc 21-Oct-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #31341 (escape on curly inconsistent)
/PHP_5_3/Zend/zend_language_scanner.l
7c3bdf4 21-Oct-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #34782 (token_get_all() gives wrong result)
/PHP_5_3/Zend/zend_language_scanner.l
916815b 03-Aug-2005 foobar <sniper@php.net> Bump up the year
/PHP_5_3/Zend/zend_language_scanner.l
ec58143 18-Jul-2005 Rasmus Lerdorf <rasmus@php.net> Valgrind is unhappy that this is not initialized
/PHP_5_3/Zend/zend_language_scanner.l
ff06fb7 16-Jun-2005 Zeev Suraski <zeev@php.net> Fixlet
/PHP_5_3/Zend/zend_language_scanner.l
f3ebf7d 09-Jun-2005 Dmitry Stogov <dmitry@php.net> Fixed bug (Crash on Windows and ZTS) that was introduced with fix for bug #26456
/PHP_5_3/Zend/zend_language_scanner.l
58a0ee0 07-Jun-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #26456 (Wrong results from Reflection-API getDocComment() when called via STDIN)
/PHP_5_3/Zend/zend_language_scanner.l
42ada22 06-Jun-2005 Wez Furlong <wez@php.net> Avoid double-freeing streams.
This can happen because all streams are registered as resources;
the engine also tracks them in the open_files global.

Avoid the potential for double-freeing by simply making streams exposed to the
engine have no closer for the engine to call; they will already be in the
resource list, and thus will be shut down properly at request end.
/PHP_5_3/Zend/zend_language_scanner.l
d33500e 04-Jun-2005 Zeev Suraski <zeev@php.net> Thought I committed it ages ago... Anyway, without further delays, the final
__halt_compiler() patch
/PHP_5_3/Zend/zend_language_scanner.l
118b7b5 07-Mar-2005 Zeev Suraski <zeev@php.net> Revert // </script> patch
/PHP_5_3/Zend/zend_language_scanner.l
143d62a 01-Mar-2005 foobar <sniper@php.net> Fix the fix for one line comments with <script..> </script> tags
/PHP_5_3/Zend/zend_language_scanner.l
ac63e8c 24-Feb-2005 Andi Gutmans <andi@php.net> - Make one line comments work the same with <script ...> </script> as with
- other tags. This will break scripts that have whitespace at the end
- of the closing tag </script > but this is barely used as it is
- and I doubt ppl used whitespace. (patch by Jani)
/PHP_5_3/Zend/zend_language_scanner.l
539b81e 19-Feb-2005 Rui Hirokawa <hirokawa@php.net> fixed #31987 zend-multibyte in ZTS.
/PHP_5_3/Zend/zend_language_scanner.l
e3a5c9f 13-Feb-2005 Marcus Boerger <helly@php.net> - Fix doc comment handling
/PHP_5_3/Zend/zend_language_scanner.l
37d820b 17-Jan-2005 foobar <sniper@php.net> - Fixed bug #31444 (Memory leak in zend_language_scanner.c)
/PHP_5_3/Zend/zend_language_scanner.l
52ffca0 03-Jan-2005 Stanislav Malyshev <stas@php.net> Fix the following nasty bug:
- if compile bails out from the middle of compiling, current_buffer is not restored
- if current_buffer is not null, yy_switch_to_buffer will do: *yy_c_buf_p = yy_hold_char; on
the next request
- which would lead to memory corruption on next request
/PHP_5_3/Zend/zend_language_scanner.l
4cf9d27 30-Dec-2004 foobar <sniper@php.net> - Fixed bug #28930 (PHP sources pick wrong header files generated by bison)
/PHP_5_3/Zend/zend_language_scanner.l
e612284 03-Nov-2004 Derick Rethans <derick@php.net> - Fixed bug #30630: Added a BSD based strtod function that is
locale-independent.
/PHP_5_3/Zend/zend_language_scanner.l
dc7cb19 02-Aug-2004 Marcus Boerger <helly@php.net> - Remove all for now
# - the optimization part can be done in apc or compareable products
# - NULL can be reintroduced later when needed
/PHP_5_3/Zend/zend_language_scanner.l
d96e7a1 29-Jul-2004 Sara Golemon <pollita@php.net> Revert goto opcode
/PHP_5_3/Zend/zend_language_scanner.l
5865b36 29-Jul-2004 Sara Golemon <pollita@php.net> Add goto operator by popular request.
/PHP_5_3/Zend/zend_language_scanner.l
86d46f7 16-Jul-2004 Marcus Boerger <helly@php.net> - Speed up by making null/false/true reserved word which allows to drop
an opcode (FETCH_CONSTANT) for every usage.
/PHP_5_3/Zend/zend_language_scanner.l
afc5a61 14-Jun-2004 Marcus Boerger <helly@php.net> Need {} here
/PHP_5_3/Zend/zend_language_scanner.l
4da1164 10-Jun-2004 Marcus Boerger <helly@php.net> - Require a single white-space char after /** to start a doc comment that
way we prevent /*** from becoming a doc comment (as requested Derick).
/PHP_5_3/Zend/zend_language_scanner.l
eefdd0e 10-Jun-2004 Marcus Boerger <helly@php.net> Do not require NEWLINE at start of doccomment
/PHP_5_3/Zend/zend_language_scanner.l
b2ac395 25-Mar-2004 Derick Rethans <derick@php.net> - Remove old and deprecated <?php_track_vars?> scanner token.
/PHP_5_3/Zend/zend_language_scanner.l
c0aabb7 04-Mar-2004 Moriyoshi Koizumi <moriyoshi@php.net> - Fix memleak when scanner is called from within tokenizer extension.
# (only happens with zend multibyte feature enabled)
/PHP_5_3/Zend/zend_language_scanner.l
059c533 26-Feb-2004 Marcus Boerger <helly@php.net> Fix __METHOD__ (noticed by Davey Sahfik)
/PHP_5_3/Zend/zend_language_scanner.l
60bb89c 03-Feb-2004 Zeev Suraski <zeev@php.net> Abort on parse error in an include file (patch by Ilia)
/PHP_5_3/Zend/zend_language_scanner.l
9e60cb5 03-Feb-2004 Zeev Suraski <zeev@php.net> Rewrote exception support. Fixes a few limitations and bugs in the old
implementation, and allows exceptions to 'fire' much earlier than before.

Instructions on how to use the new mechanism will follow on internals@
shortly...

Note - this (most probably) breaks the current implementation of
set_exception_handler()
/PHP_5_3/Zend/zend_language_scanner.l
8e30d96 02-Feb-2004 Zeev Suraski <zeev@php.net> Redesign the clone() feature to fix some fundamental flaws in the previous
implementation.

Using clone directly is now done using
$replica = clone $src;

Clone methods must now be declared as follows:
function __clone($that)
{
}

Clone methods in derived classes can call the __clone method of their parent
classes using parent::__clone($that)
/PHP_5_3/Zend/zend_language_scanner.l
796938e 17-Jan-2004 foobar <sniper@php.net> Nuke compile warning by using the LANG_SCNG macro instead
/PHP_5_3/Zend/zend_language_scanner.l
910e200 11-Jan-2004 Wez Furlong <wez@php.net> TSRMLS fix
/PHP_5_3/Zend/zend_language_scanner.l
e69f4f6 11-Jan-2004 Andi Gutmans <andi@php.net> - This should fix the problem of conditional function decleration on the
- same line of code not to work. You should re-evaluate your coding style
- if you really code this way :)
/PHP_5_3/Zend/zend_language_scanner.l
6b87194 08-Jan-2004 Andi Gutmans <andi@php.net> - - A belated happy holidays (by two years)
/PHP_5_3/Zend/zend_language_scanner.l
99dec69 29-Nov-2003 Ilia Alshanetsky <iliaa@php.net> Fixed bug #26463 (Incorrect handling of semicolons after heredoc)
/PHP_5_3/Zend/zend_language_scanner.l
10def9a 22-Sep-2003 Ilia Alshanetsky <iliaa@php.net> Added missing format.
/PHP_5_3/Zend/zend_language_scanner.l
ab9dcec 11-Aug-2003 Masaki Fujimoto <fujimoto@php.net> - added script encoding support to Zend Engine 2.
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')
/PHP_5_3/Zend/zend_language_scanner.l
399db3c 27-Jul-2003 Stanislav Malyshev <stas@php.net> fix crash #24550
/PHP_5_3/Zend/zend_language_scanner.l
f68c7ff 10-Jun-2003 James Cox <imajes@php.net> updating license information in the headers.
/PHP_5_3/Zend/zend_language_scanner.l
f7f5a5e 02-Jun-2003 Stanislav Malyshev <stas@php.net> MEGA-patch: namespaces are R.I.P.
/PHP_5_3/Zend/zend_language_scanner.l
afb748d 29-May-2003 Marcus Boerger <helly@php.net> CS
/PHP_5_3/Zend/zend_language_scanner.l
955460a 26-May-2003 Marcus Boerger <helly@php.net> Add pseudo constant __METHOD__ to easily report namespace::class::method.

# This is especially good for tests. Since it does not draw away from the
# real issues and nicely reports what is needed to identify a method.
/PHP_5_3/Zend/zend_language_scanner.l
c0cde19 25-Apr-2003 foobar <sniper@php.net> Fixed bug #21820 ("$arr[foo]" generates bogus E_NOTICE, should be E_PARSE)
/PHP_5_3/Zend/zend_language_scanner.l
65f06d8 10-Apr-2003 Zeev Suraski <zeev@php.net> Revert Harald's commit
/PHP_5_3/Zend/zend_language_scanner.l
07e775b 09-Apr-2003 Harald Radi <phanto@php.net> removing the *syntactical sugar* again

# commiting that on behalf of the community :)
# don't blame me, i'm just acting as a proxy
/PHP_5_3/Zend/zend_language_scanner.l
0abeba5 07-Apr-2003 foobar <sniper@php.net> Fixed bug #23093 (highlight_string() crashed with __FUNCTION__)
/PHP_5_3/Zend/zend_language_scanner.l
bdd3b60 02-Apr-2003 Andrei Zmievski <andrei@php.net> Implement a different way to catch documentation comments.
/PHP_5_3/Zend/zend_language_scanner.l
e6255b0 02-Apr-2003 Andrei Zmievski <andrei@php.net> Revert portions of the doc comment patch. There should be no parser
errors now.
/PHP_5_3/Zend/zend_language_scanner.l
59af205 01-Apr-2003 Stanislav Malyshev <stas@php.net> Add __NAMESPACE__ auto-constant.
/PHP_5_3/Zend/zend_language_scanner.l
5657b83 31-Mar-2003 Andrei Zmievski <andrei@php.net> Multi-purpose patch:
- The fields of zend_namespace were not completely initialized which
led to a variety of problems.
- The occurrence of class/interface/namespace definition is now
captured.
- Functions/classes/interfaces/namespaces can be preceded by doc
comments which are stored for use by extensions.
/PHP_5_3/Zend/zend_language_scanner.l
0a3ca34 22-Mar-2003 Shane Caraveo <shane@php.net> fix crash in win32 debug build
/PHP_5_3/Zend/zend_language_scanner.l
39d5a63 19-Mar-2003 Andrei Zmievski <andrei@php.net> - Keep track of starting/ending line numbers for user functions.
- Store last parsed doc comment in a compiler global for future use.
/PHP_5_3/Zend/zend_language_scanner.l
b3ebb11 09-Mar-2003 Andi Gutmans <andi@php.net> - Nuke junk
/PHP_5_3/Zend/zend_language_scanner.l
26dd849 05-Mar-2003 Zeev Suraski <zeev@php.net> Add support for interfaces
/PHP_5_3/Zend/zend_language_scanner.l
535aa63 24-Feb-2003 Zeev Suraski <zeev@php.net> Add 'final'
/PHP_5_3/Zend/zend_language_scanner.l
955636a 18-Feb-2003 Zeev Suraski <zeev@php.net> Avoid using a C++ reserved word
/PHP_5_3/Zend/zend_language_scanner.l
e52aac9 18-Feb-2003 Wez Furlong <wez@php.net> Implement simple stream support in the ZE scanners.
/PHP_5_3/Zend/zend_language_scanner.l
a4c3b2c 16-Feb-2003 Stanislav Malyshev <stas@php.net> Namespace patch. Big changes:
1. Nested classes are gone.
2. New syntax for namespaces:
namespace foo {
class X { ... }
function bar { ... }
var x = 1;
const ZZ = 2;
}
3. Namespaced symbol access: $x = new foo::X; - etc.
For now, namespaces are case insensitive, just like classes.
Also, there can be no global class and namespace with the same name
(to avoid ambiguities in :: resolution).
/PHP_5_3/Zend/zend_language_scanner.l
3341568 13-Feb-2003 Harald Radi <phanto@php.net> MFB PHP_4_3
/PHP_5_3/Zend/zend_language_scanner.l
729e470 01-Feb-2003 Sebastian Bergmann <sebastian@php.net> Fix build.
/PHP_5_3/Zend/zend_language_scanner.l
333406b 01-Feb-2003 foobar <sniper@php.net> - Added some missing CVS $Id$ tags, headers and footers.
/PHP_5_3/Zend/zend_language_scanner.l
c073b76 14-Jan-2003 Andi Gutmans <andi@php.net> - Change "is" to "instanceof" as it explains better what the operator means.
- "is_a" was also appropriate but ugly.
/PHP_5_3/Zend/zend_language_scanner.l
cf05f34 05-Jan-2003 Zeev Suraski <zeev@php.net> MFZE1 - lineno fix
/PHP_5_3/Zend/zend_language_scanner.l
11dbaa3 14-Dec-2002 Ilia Alshanetsky <iliaa@php.net> MFZE2
/PHP_5_3/Zend/zend_language_scanner.l
e156edb 07-Dec-2002 Zeev Suraski <zeev@php.net> Remove unintentional code
/PHP_5_3/Zend/zend_language_scanner.l
e062dff 06-Dec-2002 Zeev Suraski <zeev@php.net> - Implement public/protected/private methods.
- Prevent instantiation of classes with abstract methods.
Based in part on Marcus's patch.
/PHP_5_3/Zend/zend_language_scanner.l
227f783 20-Nov-2002 Andi Gutmans <andi@php.net> - Fix build (thanks Marcus)
- Implement abstract methods, syntax:
- abstract function foo($vars);
- I don't see any reason why modifiers such as static/public need to be
- used with abstract. PHP is weakly typed and there would be no meaning to
- this anyway. People who want a strictly typed compiled language are
- looking in the wrong place.
/PHP_5_3/Zend/zend_language_scanner.l
6d8a643 18-Nov-2002 Andi Gutmans <andi@php.net> - MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
ce06e7b 16-Nov-2002 Andi Gutmans <andi@php.net> - MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
e1725b2 16-Nov-2002 Andi Gutmans <andi@php.net> - MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
78bf1d9 05-Nov-2002 Ilia Alshanetsky <iliaa@php.net> MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
983be5c 05-Nov-2002 Andi Gutmans <andi@php.net> - ATTENTION: Finally nuke old_function and cfunction. I think it is time
- to get rid of these BC notations. This is from the days of the move from
- PHP/FI 2 -> PHP 3
/PHP_5_3/Zend/zend_language_scanner.l
7936a86 02-Nov-2002 Ilia Alshanetsky <iliaa@php.net> MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
fee4ba4 02-Nov-2002 Derick Rethans <derick@php.net> - Fix segfault when __CLASS__ was used outside a class definition
/PHP_5_3/Zend/zend_language_scanner.l
d704357 02-Nov-2002 Ilia Alshanetsky <iliaa@php.net> MFZE1 (20214).
/PHP_5_3/Zend/zend_language_scanner.l
0bb780b 15-Aug-2002 Zeev Suraski <zeev@php.net> MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
52406cb 08-Aug-2002 Andi Gutmans <andi@php.net> - Make new 'is' operator work with classes only and return false when
- the object isn't of the said class or the value isn't an object.
/PHP_5_3/Zend/zend_language_scanner.l
82c72f2 30-Jul-2002 Andrei Zmievski <andrei@php.net> @- Adding 'is' operator that can be used to check the type of a variable,
@ or its class. (Andrei)
/PHP_5_3/Zend/zend_language_scanner.l
3be1dd4 16-Jul-2002 Andi Gutmans <andi@php.net> - Syntactic sugar - Add "public" as a synonym for "var".
- Now we have the three P's.
You can do:

<?
class MyClass {
public $a;
private $b;
protected $c;
}

?>
/PHP_5_3/Zend/zend_language_scanner.l
bc5ea87 15-Jul-2002 Andi Gutmans <andi@php.net> - Commit patch to support protected member variables (by Timm Friebe w/
- some fixes by me).
- You can't access protected variables from outside the object. If you want
- to see a protected member from your ancestors you need to declare the
- member as protected in the class you want to use it in. You can't
- redeclare a protected variable as private nor the other way around.
/PHP_5_3/Zend/zend_language_scanner.l
7b68f51 14-Jul-2002 Andi Gutmans <andi@php.net> - Nuke delete(). It was a big mistake to introduce it and I finally
- understand why Java didn't do so.
- If you still want to control destruction of your object then either make
- sure you kill all references or create a destruction method which you
- call yourself.
/PHP_5_3/Zend/zend_language_scanner.l
3eafd22 10-Apr-2002 foobar <sniper@php.net> MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
60ccb41 10-Apr-2002 foobar <sniper@php.net> MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
b90d80b 02-Mar-2002 Andi Gutmans <andi@php.net> - Initial patch to support importing from class scopes (for Stig).
- It isn't complete yet but I want to work on it from another machine. It
- shouldn't break anything else so just don't try and use it.
- The following is a teaser of something that already works:
<?php

class MyClass
{
function hello()
{
print "Hello, World\n";
}
class MyClass2
{
function hello()
{
print "Hello, World in MyClass2\n";
}
}
}

import function hello, class MyClass2 from MyClass;

MyClass2::hello();
hello();
?>
/PHP_5_3/Zend/zend_language_scanner.l
90bd453 01-Mar-2002 Andi Gutmans <andi@php.net> - Remove use of C++ reserved words namespace/this
/PHP_5_3/Zend/zend_language_scanner.l
00e90f2 21-Feb-2002 Andi Gutmans <andi@php.net> - Experimental support for private members.
<?
class MyClass {
private $Hello = "Hello, World!\n";

function printHello()
{
print $this->Hello;
}
}

class MyClass2 extends MyClass {
function printHello()
{
MyClass::printHello(); /* Should print */
print $this->Hello; /* Shouldn't print out anything */
}
}

$obj = new MyClass();
print $obj->Hello; /* Shouldn't print out anything */
$obj->printHello(); /* Should print */

$obj = new MyClass2();
print $obj->Hello; /* Shouldn't print out anything */
$obj->printHello();
?>
/PHP_5_3/Zend/zend_language_scanner.l
62dc854 06-Jan-2002 Sebastian Bergmann <sebastian@php.net> Happy New Year.
/PHP_5_3/Zend/zend_language_scanner.l
43617d0 18-Dec-2001 Zeev Suraski <zeev@php.net> MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
d863d52 11-Dec-2001 Sebastian Bergmann <sebastian@php.net> Update headers.
/PHP_5_3/Zend/zend_language_scanner.l
2eabb14 30-Sep-2001 Andi Gutmans <andi@php.net> - Merge the NAMESPACES_BRANCH. It wasn't a good idea to have a branch when
- the whole CVS tree is work in progress
/PHP_5_3/Zend/zend_language_scanner.l
1735281 22-Sep-2001 Zeev Suraski <zeev@php.net> MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
483fc4c 19-Sep-2001 Zeev Suraski <zeev@php.net> MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
9f61e47 10-Sep-2001 Zeev Suraski <zeev@php.net> MFZE1 (nuke cplusplus code)
/PHP_5_3/Zend/zend_language_scanner.l
29f5dbe 30-Aug-2001 Andi Gutmans <andi@php.net> - Initial support for exceptions.
/PHP_5_3/Zend/zend_language_scanner.l
b392fe4 28-Aug-2001 Zeev Suraski <zeev@php.net> MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
77c5227 16-Aug-2001 Zeev Suraski <zeev@php.net> MFZE1
/PHP_5_3/Zend/zend_language_scanner.l
4f6c95d 11-Aug-2001 Zeev Suraski <zeev@php.net> Whitespace
/PHP_5_3/Zend/zend_language_scanner.l
5af7770 07-Aug-2001 Andi Gutmans <andi@php.net> - Sync Engine2 CVS with latest Engine CVS
/PHP_5_3/Zend/zend_language_scanner.l
7ade3b3 06-Aug-2001 Zeev Suraski <zeev@php.net> Fix an off by one lineno issue, in case of an implicit ;
/PHP_5_3/Zend/zend_language_scanner.l
609d58a 06-Aug-2001 Zeev Suraski <zeev@php.net> Merge from branch - move to standard C scanners in thread safe mode
/PHP_5_3/Zend/zend_language_scanner.l
f93bfc4 01-Aug-2001 Zeev Suraski <zeev@php.net> Implement fast scanning in the multithreaded environment
/PHP_5_3/Zend/zend_language_scanner.l
982cd24 31-Jul-2001 Zeev Suraski <zeev@php.net> the make Sebastian happy part of the day :)
/PHP_5_3/Zend/zend_language_scanner.l
d49077f 30-Jul-2001 Zeev Suraski <zeev@php.net> Compile fix
/PHP_5_3/Zend/zend_language_scanner.l
4187439 30-Jul-2001 Zeev Suraski <zeev@php.net> More TSRMLS_FETCH work
/PHP_5_3/Zend/zend_language_scanner.l
8ce8324 30-Jul-2001 Zeev Suraski <zeev@php.net> More TSRMLS_FETCH annihilation
/PHP_5_3/Zend/zend_language_scanner.l
b4f3b9d 28-Jul-2001 Zeev Suraski <zeev@php.net> Redesigned thread safety mechanism - nua nua
/PHP_5_3/Zend/zend_language_scanner.l
2c254ba 27-Jul-2001 Zeev Suraski <zeev@php.net> Get rid of ELS_*(), and use TSRMLS_*() instead.
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
/PHP_5_3/Zend/zend_language_scanner.l
0078cee 15-Jul-2001 Zeev Suraski <zeev@php.net> Fix an inline
/PHP_5_3/Zend/zend_language_scanner.l
85b4df5 15-Jul-2001 Zeev Suraski <zeev@php.net> Improved interactive mode - it is now available in all builds, without any significant slowdown
/PHP_5_3/Zend/zend_language_scanner.l
5b12d60 17-May-2001 Zeev Suraski <zeev@php.net> That's slightly clearer that way :)
/PHP_5_3/Zend/zend_language_scanner.l
a514e8f 08-May-2001 Andi Gutmans <andi@php.net> - Fix line numbers when some lines end with \r
/PHP_5_3/Zend/zend_language_scanner.l
1e63f44 06-May-2001 Zeev Suraski <zeev@php.net> Support interactive mode in thread-safe builds
/PHP_5_3/Zend/zend_language_scanner.l
62bec3a 02-May-2001 Andi Gutmans <andi@php.net> - Handle MAC OS X \r line endings
/PHP_5_3/Zend/zend_language_scanner.l
4e71bbe 28-Apr-2001 Zeev Suraski <zeev@php.net> include limits.h if available
/PHP_5_3/Zend/zend_language_scanner.l
acd56b0 27-Apr-2001 Andi Gutmans <andi@php.net> - More whitespace fixes while I'm at it.
/PHP_5_3/Zend/zend_language_scanner.l
0971ff9 27-Apr-2001 Andi Gutmans <andi@php.net> - Whitespace changes to be standard like the rest of Zend
/PHP_5_3/Zend/zend_language_scanner.l
3118af8 12-Mar-2001 Andi Gutmans <andi@php.net> - White space
/PHP_5_3/Zend/zend_language_scanner.l
714d083 12-Mar-2001 Andi Gutmans <andi@php.net> - Fix by Jani Taskinen <sniper@iki.fi> for whole path also to work
with include_once()/require_once().
/PHP_5_3/Zend/zend_language_scanner.l
d2c9e80 26-Feb-2001 Andi Gutmans <andi@php.net> - Update copyright year
/PHP_5_3/Zend/zend_language_scanner.l
f3258b2 03-Jan-2001 Zeev Suraski <zeev@php.net> Fix another case of possible line number corruption
/PHP_5_3/Zend/zend_language_scanner.l
1860303 30-Dec-2000 Zeev Suraski <zeev@php.net> Fix possible corruption in line number information
/PHP_5_3/Zend/zend_language_scanner.l
dc2f1d9 26-Dec-2000 Zeev Suraski <zeev@php.net> - Use supplied istdiostream definition for the INI scanner too
- Add Release_TSDbg configuration
/PHP_5_3/Zend/zend_language_scanner.l
1d35ad3 19-Dec-2000 Stanislav Malyshev <stas@php.net> Add support for ASP tags in one-line comment
/PHP_5_3/Zend/zend_language_scanner.l
d63f813 17-Dec-2000 Andi Gutmans <andi@php.net> - Clean up the scanner a tiny bit while messing with it.
/PHP_5_3/Zend/zend_language_scanner.l
6529b06 17-Dec-2000 Andi Gutmans <andi@php.net> - %> without asp_tags should not be treated as inline_html but as regular
tokens. Of course the parser will die with a parse error which is the
correct behavior.
/PHP_5_3/Zend/zend_language_scanner.l
5868427 17-Dec-2000 Andi Gutmans <andi@php.net> - Fix problem in one line comments with line endings such as ??>
/PHP_5_3/Zend/zend_language_scanner.l
2d57a5b 14-Nov-2000 Stanislav Malyshev <stas@php.net> Restore compatibility with old broken way
/PHP_5_3/Zend/zend_language_scanner.l
0b6a8d0 14-Nov-2000 Stanislav Malyshev <stas@php.net> Better 0x handling - not change non-0x number behaviour
/PHP_5_3/Zend/zend_language_scanner.l
89d5983 14-Nov-2000 Stanislav Malyshev <stas@php.net> Attempt at better handling long 0x-numbers, like 0xffffffff
/PHP_5_3/Zend/zend_language_scanner.l
464a561 02-Nov-2000 Zeev Suraski <zeev@php.net> Missed those
/PHP_5_3/Zend/zend_language_scanner.l
e04fd64 29-Oct-2000 Zeev Suraski <zeev@php.net> Some more work on the INI parser/scanner
/PHP_5_3/Zend/zend_language_scanner.l
7b0d92d 29-Oct-2000 Zeev Suraski <zeev@php.net> Unify the names of these last 3 files...
/PHP_5_3/Zend/zend_language_scanner.l