History log of /PHP_TRUNK/Zend/zend_language_scanner.l
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aff56f3 19-Nov-2013 datibbaw <datibbaw@php.net> add T_POW (**) operator

Fixed recognition of the operator

Added opcode, still doing multiply instead of pow()

opcode now always returns int(42)

The right answer, but always a float

Yanked code from pow() implementation.

Should not handle negative long as exponent ourselves

Added test cases from pow()

Moved precedence higher than '~'

Added GMP operator overloading

Added ZEND_ASSIGN_POW (**=) operator.

Added pow() as a language construct.

Adjusted test cases for changed precedence.

Reduced pow() to shell function around ZEND_API pow_function()

Reduced test case to only contain edge cases
Added overloading test case

Moved unary minus above T_POW

Revert "Added pow() as a language construct."

Bad bad bad idea.

This reverts commit f60b98cf7a8371233d800a6faa286ddba4432d02.

Reverted unary minus behaviour due to previous revert.
Convert arrays to int(0)
Exponent with array as a base becomes int(0)

Rebase against master

Fixed tokenizer test case
/php-src/Zend/zend_language_scanner.l
c081ce6 03-Jan-2014 Xinchen Hui <laruence@php.net> Bump year
/php-src/Zend/zend_language_scanner.l
e30b2aa 17-Oct-2013 Anatol Belski <ab@php.net> initial move on renaming files and fixing includes
/php-src/Zend/zend_language_scanner.l
0d7a638 26-Sep-2013 Nikita Popov <nikic@php.net> Implement variadic function syntax

As per RFC: https://wiki.php.net/rfc/variadics
/php-src/Zend/zend_language_scanner.l
96b1c21 13-Sep-2013 Nikita Popov <nikic@php.net> Provide more macros for handling of interned strings

* str_erealloc behaves like erealloc for normal strings, but will
use emalloc+memcpy for interned strings.
* str_estrndup behaves like estrndup for normal strings, but will
not copy interned strings.
* str_strndup behaves like zend_strndup for normal strings, but
will not copy interned strings.
* str_efree_rel behaves like efree_rel for normal strings, but
will not free interned strings.
* str_hash will return INTERNED_HASH for interned strings and
compute it using zend_hash_func for normal strings.
/php-src/Zend/zend_language_scanner.l
d2950ac 13-Sep-2013 Nikita Popov <nikic@php.net> Make use of Z_*VAL and ZVAL_* in language scanner
/php-src/Zend/zend_language_scanner.l
ac343d5 16-Jun-2013 Stanislav Malyshev <stas@php.net> Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
Fix bug #64936 - clean doc comment state at the beginning and end of the scan
ws fix

Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner.l
Zend/zend_language_scanner_defs.h
2208447 16-Jun-2013 Stanislav Malyshev <stas@php.net> Fix bug #64936 - clean doc comment state at the beginning and end of the scan
/php-src/Zend/zend_language_scanner.l
ac0aa57 20-May-2013 Stanislav Malyshev <stas@php.net> Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
fix bug #64660 - yyparse can return 2, not only 1

Conflicts:
Zend/zend_language_scanner.c
fb58e69 20-May-2013 Stanislav Malyshev <stas@php.net> fix bug #64660 - yyparse can return 2, not only 1
/php-src/Zend/zend_language_scanner.l
6e8aa09 27-Mar-2013 Dmitry Stogov <dmitry@zend.com> Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
Fixed bug #64529 (Ran out of opcode space)

Conflicts:
NEWS
Zend/zend_execute_API.c
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
85e5e60 27-Mar-2013 Dmitry Stogov <dmitry@zend.com> Fixed bug #64529 (Ran out of opcode space)
/php-src/Zend/zend_language_scanner.l
a666285 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/php-src/Zend/zend_language_scanner.l
0a7395e 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/php-src/Zend/zend_language_scanner.l
ba8a06f 14-Nov-2012 Dmitry Stogov <dmitry@zend.com> Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
Fixed compiler reenterability
Fixed compiler reenterability

Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
65585b3 14-Nov-2012 Dmitry Stogov <dmitry@zend.com> Fixed compiler reenterability
/php-src/Zend/zend_language_scanner.l
1823b16 20-Aug-2012 Nikita Popov <nikic@php.net> Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport

Merging master to fix Windows build

Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_vm_def.h
3336e1e 20-Aug-2012 Stanislav Malyshev <stas@php.net> Merge branch 'pull-request/31'

* pull-request/31:
Fix lexing of nested heredoc strings in token_get_all()
f4ce364 13-Aug-2012 Nikita Popov <nikic@php.net> Merge remote-tracking branch 'php-src/master' into addGeneratorsSupport

This is just an intial merge. It does not yet make generators and finally
work together.

Conflicts:
Zend/zend_language_scanner.c
Zend/zend_language_scanner_defs.h
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
Zend/zend_vm_execute.skl
Zend/zend_vm_opcodes.h
80d5ae3 13-Aug-2012 Xinchen Hui <laruence@php.net> Implemented 'finally' keywords for php

RFC: https://wiki.php.net/rfc/finally
FR: https://bugs.php.net/bug.php?id=32100
and I have got some improvment ideas(performance), will implemented
later. thanks
/php-src/Zend/zend_language_scanner.l
9b101ac 15-May-2012 Nikita Popov <nikic@php.net> Add T_YIELD "yield" keyword
/php-src/Zend/zend_language_scanner.l
45ef3c7 30-Apr-2012 Felipe Pena <felipensp@gmail.com> Merge branch 'PHP-5.4'

* PHP-5.4:
- Fixed Windows build
79961dc 30-Apr-2012 Felipe Pena <felipensp@gmail.com> - Fixed Windows build
/php-src/Zend/zend_language_scanner.l
73b6150 30-Apr-2012 Felipe Pena <felipensp@gmail.com> Merge branch 'PHP-5.4'

* PHP-5.4:
- Changed last commit to use VK_ESCAPE on Windows
3120387 30-Apr-2012 Felipe Pena <felipensp@gmail.com> - Changed last commit to use VK_ESCAPE on Windows
/php-src/Zend/zend_language_scanner.l
bbe9eec 29-Apr-2012 Felipe Pena <felipensp@gmail.com> Merge branch 'PHP-5.4'

* PHP-5.4:
- Fixed bug #61827 (incorrect \e processing on Windows) patch by: ab@php.net
cc5b995 29-Apr-2012 Felipe Pena <felipensp@gmail.com> - Fixed bug #61827 (incorrect \e processing on Windows) patch by: ab@php.net
/php-src/Zend/zend_language_scanner.l
b233de0 09-Apr-2012 Nikita Popov <nikic@php.net> 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.
/php-src/Zend/zend_language_scanner.l
4cf90e0 30-Mar-2012 Nikita Popov <nikic@php.net> 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()).
/php-src/Zend/zend_language_scanner.l
1953161 02-Mar-2012 Pierrick Charron <pierrick@php.net> Fixed bug #61225 (Lexing 0b0*+<NUM> incorectly)
/php-src/Zend/zend_language_scanner.l
f7cd058 02-Mar-2012 Pierrick Charron <pierrick@php.net> Fixed bug #61225 (Lexing 0b0*+<NUM> incorectly)
/php-src/Zend/zend_language_scanner.l
c51f737 20-Feb-2012 Etienne Kneuss <colder@php.net> Fix #61095 (Lexing 0x0*+<NUM> incorrectly)
/php-src/Zend/zend_language_scanner.l
eefefdd 20-Feb-2012 Etienne Kneuss <colder@php.net> Fix #61095 (Lexing 0x0*+<NUM> incorrectly)
/php-src/Zend/zend_language_scanner.l
b515bfb 17-Jan-2012 Dmitry Stogov <dmitry@php.net> Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants in methods defined in traits are delayed till run-time. This approach also made possible to use __CLASS__ constant as default value for traits properties and method arguments.
/php-src/Zend/zend_language_scanner.l
032d140 17-Jan-2012 Dmitry Stogov <dmitry@php.net> Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants in methods defined in traits are delayed till run-time. This approach also made possible to use __CLASS__ constant as default value for traits properties and method arguments.
/php-src/Zend/zend_language_scanner.l
a542baa 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-src/Zend/zend_language_scanner.l
8b23cae 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-src/Zend/zend_language_scanner.l
8775a37 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/Zend/zend_language_scanner.l
4e19825 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/php-src/Zend/zend_language_scanner.l
a89f1d3 30-Nov-2011 Felipe Pena <felipe@php.net> - Fixed bug #60350 (No string escape code for ESC (ascii 27), normally \e)
patch by: php at mickweiss dot com
/php-src/Zend/zend_language_scanner.l
3970865 30-Nov-2011 Felipe Pena <felipe@php.net> - Fixed bug #60350 (No string escape code for ESC (ascii 27), normally \e)
patch by: php at mickweiss dot com
/php-src/Zend/zend_language_scanner.l
4a25a77 13-Sep-2011 Dmitry Stogov <dmitry@php.net> Fixed ZE specific compile warnings (Bug #55629)
/php-src/Zend/zend_language_scanner.l
e43ff13 13-Sep-2011 Dmitry Stogov <dmitry@php.net> Fixed ZE specific compile warnings (Bug #55629)
/php-src/Zend/zend_language_scanner.l
cb8d619 17-Aug-2011 Etienne Kneuss <colder@php.net> Fix bug #55445 (Incomplete implementation of <?= being independant of short_open_tag)
/php-src/Zend/zend_language_scanner.l
f6c2b47 17-Aug-2011 Etienne Kneuss <colder@php.net> Fix bug #55445 (Incomplete implementation of <?= being independant of short_open_tag)
/php-src/Zend/zend_language_scanner.l
306c420 16-Aug-2011 Hannes Magnusson <bjori@php.net> Callable typehint following the rules of is_callable($arg, false);
/php-src/Zend/zend_language_scanner.l
550980c 16-Aug-2011 Hannes Magnusson <bjori@php.net> Callable typehint following the rules of is_callable($arg, false);
/php-src/Zend/zend_language_scanner.l
3ed828a 07-Aug-2011 Derick Rethans <derick@php.net> - Fixed bug #55378: binary number literal returns float number though its value
is enough small
/php-src/Zend/zend_language_scanner.l
2093696 07-Aug-2011 Derick Rethans <derick@php.net> - Fixed bug #55378: binary number literal returns float number though its value
is enough small
/php-src/Zend/zend_language_scanner.l
65cbcb3 31-Jul-2011 Stefan Marr <gron@php.net> Fixed Bug #55214 use of __CLASS__ within trait returns trait name not class name [TRAITS] [DOC]
/php-src/Zend/zend_language_scanner.l
88f497f 31-Jul-2011 Stefan Marr <gron@php.net> Fixed Bug #55214 use of __CLASS__ within trait returns trait name not class name [TRAITS] [DOC]
/php-src/Zend/zend_language_scanner.l
0158804 31-Jul-2011 Stefan Marr <gron@php.net> 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.
/php-src/Zend/zend_language_scanner.l
dbc6849 31-Jul-2011 Stefan Marr <gron@php.net> 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.
/php-src/Zend/zend_language_scanner.l
4d0f1bf 27-Jul-2011 Pierre Joye <pajoye@php.net> - add binary suport, FR #50638, as defined in RFC https://wiki.php.net/rfc/binnotation4ints, patch by Jonah Harris
/php-src/Zend/zend_language_scanner.l
6e4435d 27-Jul-2011 Pierre Joye <pajoye@php.net> - add binary suport, FR #50638, as defined in RFC https://wiki.php.net/rfc/binnotation4ints, patch by Jonah Harris
/php-src/Zend/zend_language_scanner.l
72f7be3 23-Jun-2011 Felipe Pena <felipe@php.net> - Improved parse error messages
/php-src/Zend/zend_language_scanner.l
0372e6a 23-Jun-2011 Felipe Pena <felipe@php.net> - Improved parse error messages
/php-src/Zend/zend_language_scanner.l
e186189 03-Jun-2011 Stanislav Malyshev <stas@php.net> scalar types cleanup
/php-src/Zend/zend_language_scanner.l
d7c9c5a 03-Jun-2011 Stanislav Malyshev <stas@php.net> scalar types cleanup
/php-src/Zend/zend_language_scanner.l
a9a7f53 19-May-2011 Rasmus Lerdorf <rasmus@php.net> Decouple <?= from the short_tags setting and make it always enabled
/php-src/Zend/zend_language_scanner.l
c24ef71 19-May-2011 Rasmus Lerdorf <rasmus@php.net> Decouple <?= from the short_tags setting and make it always enabled
/php-src/Zend/zend_language_scanner.l
a546b32 16-May-2011 Rasmus Lerdorf <rasmus@php.net> oops, can't use that macro here
/php-src/Zend/zend_language_scanner.l
c5152b8 16-May-2011 Rasmus Lerdorf <rasmus@php.net> oops, can't use that macro here
/php-src/Zend/zend_language_scanner.l
a5eeecb 16-May-2011 Rasmus Lerdorf <rasmus@php.net> Suppress a dozen unused return value warnings in places where the return
value is really not useful to us.
/php-src/Zend/zend_language_scanner.l
575ea1e 16-May-2011 Rasmus Lerdorf <rasmus@php.net> Suppress a dozen unused return value warnings in places where the return
value is really not useful to us.
/php-src/Zend/zend_language_scanner.l
516c2f5 15-May-2011 Stanislav Malyshev <stas@php.net> removing scalar types in trunk
/php-src/Zend/zend_language_scanner.l
9e05a9a 03-Apr-2011 Felipe Pena <felipe@php.net> - Removed unused variable (Pierrick)
/php-src/Zend/zend_language_scanner.l
bbc879b 14-Mar-2011 Dmitry Stogov <dmitry@php.net> Fixed multibyte related issues
/php-src/Zend/zend_language_scanner.l
cdb9ee0 06-Mar-2011 Moriyoshi Koizumi <moriyoshi@php.net> Fix zend.multibyte oddities. Hope this will address all the known problems.
/php-src/Zend/zend_language_scanner.l
7a2157c 03-Jan-2011 Ilia Alshanetsky <iliaa@php.net> Fixed Bug #53629 (memory leak inside highlight_string()).
/php-src/Zend/zend_language_scanner.l
0203cc3 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/php-src/Zend/zend_language_scanner.l
7c9fb17 20-Dec-2010 Felipe Pena <felipe@php.net> - Fix build
/php-src/Zend/zend_language_scanner.l
a304a0f 20-Dec-2010 Moriyoshi Koizumi <moriyoshi@php.net> - Avoid allocating extra buffers. This makes parsing with zend.multibyte enabled as fast as with it disabled.
/php-src/Zend/zend_language_scanner.l
bbf3d43 19-Dec-2010 Moriyoshi Koizumi <moriyoshi@php.net> * Refactor zend_multibyte facility.
Now mbstring.script_encoding is superseded by zend.script_encoding.
/php-src/Zend/zend_language_scanner.l
ab93d8c 24-Nov-2010 Dmitry Stogov <dmitry@php.net> Added multibyte suppport by default. Previosly php had to be compiled with --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini
/php-src/Zend/zend_language_scanner.l
1d04f41 17-Nov-2010 Pierre Joye <pajoye@php.net> - NULL deref fix, patch by Gustavo
/php-src/Zend/zend_language_scanner.l
f2df6a4 15-Sep-2010 Dmitry Stogov <dmitry@php.net> - Improved memory usage
. zend_function.pass_rest_by_reference is replaced by
ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags
. zend_function.return_reference is replaced by ZEND_ACC_RETURN_REFERENCE
in zend_function.fn_flags
. zend_arg_info.required_num_args removed. it was needed only for internal
functions. Now the first arg_info for internal function (which has special
meaning) is represented by zend_internal_function_info structure.
. zend_op_array.size, size_var, size_literal, current_brk_cont,
backpatch_count moved into CG(context), because they are used only during
compilation.
. zend_op_array.start_op is moved into EG(start_op), because it's used
only for 'interactive' execution of single top-level op-array.
. zend_op_array.done_pass_two is replaced by ZEND_ACC_DONE_PASS_TWO in
zend_op_array.fn_flags.
. op_array.vars array is trimmed (reallocated) during pass_two.
. zend_class_entry.constants_updated is replaced by
ZEND_ACC_CONSTANTS_UPDATED in zend_class_entry.ce_flags
. the size of zend_class_entry is reduced by sharing the same memory space
by different information for internal and user classes.
See zend_class_inttry.info union.
/php-src/Zend/zend_language_scanner.l
f6f0f65 30-Jun-2010 Felipe Pena <felipe@php.net> - Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
/php-src/Zend/zend_language_scanner.l
f241995 30-Jun-2010 Felipe Pena <felipe@php.net> - MF5.3: Reverted fix for bug #48930 (due binary compatibility breakage)
# To commit a new common fix
/php-src/Zend/zend_language_scanner.l
3396a6d 27-Jun-2010 Felipe Pena <felipe@php.net> - Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)
/php-src/Zend/zend_language_scanner.l
33fae4c 24-May-2010 Ilia Alshanetsky <iliaa@php.net> Added support for numeric & scalar type hint as defined within
http://wiki.php.net/rfc/typecheckingstrictandweak RFC
/php-src/Zend/zend_language_scanner.l
ab9de55 23-May-2010 Ilia Alshanetsky <iliaa@php.net> Allow arbitrary number of space characters between type-hint and method/function parameter
/php-src/Zend/zend_language_scanner.l
1bc9247 20-May-2010 Derick Rethans <derick@php.net> - Added scalar typehinting.
/php-src/Zend/zend_language_scanner.l
cd6415f 22-Apr-2010 Stefan Marr <gron@php.net> Implemented Traits for PHP as proposed in the RFC [TRAITS]

# RFC http://wiki.php.net/rfc/horizontalreuse#traits_-_reuse_of_behavior
# Ok, here we go, I guess that will result in more discussion, which is fine
# by me. But now, the patch is here, and properly archived.
#
# See below a list of notes to the patch, it also includes a list of
# points which should be fixed
#
# Internals of the Traits Patch
# -----------------------------
#
# Open TODOs
# """"""""""
#
# - Reflection API
# - support for traits for internal classes
# - currently destroy_zend_class does not handle that case
#
# Introduced Structures
# """""""""""""""""""""
#
# Data structures to encode the composition information specified in the
# source:
# - zend_trait_method_reference
# - zend_trait_precedence
# - zend_trait_alias
#
# Changes
# """""""
#
# zend_class_entry
# - uses NULL terminated lists of pointers for
# - trait_aliases
# - trait_precedences
# - do you prefer an explicit counter?
# - the information is only necessary during class composition
# but might be interesting for reflection
# - did not want to blow up class further with not really necessary length counters
#
# added keywords
# - trait
# - insteadof
#
# Added opcodes
# ZEND_ADD_TRAIT
# - similar to ZEND_ADD_INTERFACE
# - adds the trait to the list of traits of a class, no actual composition done
# ZEND_BIND_TRAITS
# - emitted in zend_do_end_class_declaration
# - concludes the class definition and will initiate the trait composition
# when the class definition is encountered during runtime
#
# Added Flags
# ZEND_ACC_TRAIT = 0x120
# ZEND_ACC_IMPLEMENT_TRAITS = 0x400000
# ZEND_FETCH_CLASS_TRAIT = 14
#
# zend_vm_execute.h
# - not sure whether the handler initialization (ZEND_ADD_TRAIT_SPEC_HANDLER,
# ZEND_BIND_TRAITS_SPEC_HANDLER) is correct, maybe it should be more selective
#
# zend_compile.c
# - refactored do_inherit_method_check
# split into do_inherit_method_check and do_inheritance_check_on_method
# - added helper functions use a '_' as prefix and are not mentioned in the
# headers
# - _copy_functions
# prepare hash-maps of functions which should be merged into a class
# here the aliases are handled
# - _merge_functions
# builds a hash-table of the methods which need to be added to a class
# does the conflict detection
# - reused php_runkit_function_copy_ctor
# - it is not identical with the original code anymore, needed to update it
# think I fixed some bugs, not sure whether all have been reported back to runkit
# - has to be renamed, left the name for the moment, to make its origin obvious
# - here might be optimization potential
# - not sure whether everything needs to be copied
# - copying the literals might be broken
# - added it since the literals array is freed by efree and gave problems
# with doubled frees
# - all immutable parts of the zend_op array should not be copied
# - am not sure which parts are immutable
# - and not sure how to avoid doubled frees on the same arrays on shutdown
# - _merge_functions_to_class
# does the final merging with the target class to handle inherited
# and overridden methods
# - small helper for NULL terminated lists
# zend_init_list, zend_add_to_list
#
# zend_language_parser.y
# - reused class definition for traits
# - there should be something with regard to properties
# - if they get explicitly defined, it might be worthwhile to
# check that there are no collisions with other traits in a composition
# (however, I would not introduce elaborate language features to control that
# but a notice for such conflicts might be nice to the developers)
/php-src/Zend/zend_language_scanner.l
dd5c478 20-Apr-2010 Dmitry Stogov <dmitry@php.net> Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.
/php-src/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-src/Zend/zend_language_scanner.l
5dd6b9f 17-Nov-2009 Felipe Pena <felipe@php.net> - Fixed bug #50145 (crash while running bug35634.phpt)
/php-src/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-src/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-src/Zend/zend_language_scanner.l
bcd9099 25-Mar-2009 Dmitry Stogov <dmitry@php.net> Fixed bug #47038 (Memory leak in include)
/php-src/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-src/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-src/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-src/Zend/zend_language_scanner.l
bfcea7f 02-Jan-2009 Felipe Pena <felipe@php.net> - MFH: Year++
/php-src/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-src/Zend/zend_language_scanner.l
7126de4 04-Nov-2008 Marcus Boerger <helly@php.net> - Next step in namespaces, using / as namespace separator.
/php-src/Zend/zend_language_scanner.l
85ab423 15-Aug-2008 Felipe Pena <felipe@php.net> - MFH: Removed some TSRMLS_FETCH()s
/php-src/Zend/zend_language_scanner.l
0537607 12-Aug-2008 Dmitry Stogov <dmitry@php.net> Fixed bug #45779 (regression with shebang lines processing)
/php-src/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-src/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-src/Zend/zend_language_scanner.l
1782511 28-Jul-2008 Moriyoshi Koizumi <moriyoshi@php.net> - WS
/php-src/Zend/zend_language_scanner.l
a28497d 28-Jul-2008 Moriyoshi Koizumi <moriyoshi@php.net> - Fix __halt_compiler() weirdness with zend-mulibyte enabled
/php-src/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-src/Zend/zend_language_scanner.l
20bca30 24-Jul-2008 Moriyoshi Koizumi <moriyoshi@php.net> - No need to advance the cursor
/php-src/Zend/zend_language_scanner.l
4f42ed3 24-Jul-2008 Moriyoshi Koizumi <moriyoshi@php.net> - Revived zend multibyte
/php-src/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-src/Zend/zend_language_scanner.l
ea11f6d 06-Jul-2008 Nuno Lopes <nlopess@php.net> fix last part of bug #44654
/php-src/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-src/Zend/zend_language_scanner.l
e59fb93 29-Jun-2008 Rui Hirokawa <hirokawa@php.net> update zend_language_scanner.l to maintain the dependencies.
/php-src/Zend/zend_language_scanner.l
c3286f3 29-Jun-2008 Rui Hirokawa <hirokawa@php.net> implemented again zend-multibyte for PHP 5.3
/php-src/Zend/zend_language_scanner.l
c83d916 10-May-2008 Matt Wilmas <mattwil@php.net> MFH: Restore end check for "escape" strings
/php-src/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-src/Zend/zend_language_scanner.l
7507ff3 10-Apr-2008 Nuno Lopes <nlopess@php.net> fix heredoc+nowdoc
#patch by Matt Wilmas
/php-src/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-src/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-src/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-src/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-src/Zend/zend_language_scanner.l
f66f55e 28-Mar-2008 Felipe Pena <felipe@php.net> MFH: Implemented "jump label" operator (limited "goto")
[DOC]
/php-src/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-src/Zend/zend_language_scanner.l
07e3598 21-Mar-2008 Marcus Boerger <helly@php.net> - Fix YYFILL()
/php-src/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-src/Zend/zend_language_scanner.l
ddcf7a2 12-Feb-2008 Dmitry Stogov <dmitry@php.net> Added NEWDOC
/php-src/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-src/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-src/Zend/zend_language_scanner.l
b7d87be 07-Nov-2007 Dmitry Stogov <dmitry@php.net> T_IMPORT -> T_USE
/php-src/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-src/Zend/zend_language_scanner.l
f32ffe9 28-Sep-2007 Dmitry Stogov <dmitry@php.net> Namespaces
/php-src/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-src/Zend/zend_language_scanner.l
9bca44d 24-May-2007 Dmitry Stogov <dmitry@php.net> Impoved error reporting on parser errors (Matt, Dmitry)
/php-src/Zend/zend_language_scanner.l
80d2409 18-May-2007 Dmitry Stogov <dmitry@php.net> Improved compilation of heredocs and interpolated strings. (Matt, Dmitry)
/php-src/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-src/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-src/Zend/zend_language_scanner.l
0291ad5 15-Feb-2007 Dmitry Stogov <dmitry@php.net> Fixed bug #40236 (php -a function allocation eats memory)
/php-src/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-src/Zend/zend_language_scanner.l
39fa36a 09-Jan-2007 Andrei Zmievski <andrei@php.net> Fix 'b' prefix in highlighting and tokenizer. (Matt W)
/php-src/Zend/zend_language_scanner.l
ff9d0fc 26-Dec-2006 Ilia Alshanetsky <iliaa@php.net> is_numeric_string() optimization

# Original Patch by Matt Wilmas
/php-src/Zend/zend_language_scanner.l
0d7af28 20-Dec-2006 Andrei Zmievski <andrei@php.net> More correct patch for b-prefixes.
/php-src/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-src/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-src/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-src/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-src/Zend/zend_language_scanner.l
0f4302b 17-Jan-2006 Dmitry Stogov <dmitry@php.net> Fixed bug #36037 (heredoc adds extra line number)
/php-src/Zend/zend_language_scanner.l
61e93cc 04-Jan-2006 Andi Gutmans <andi@php.net> - Update copyright notices to 2006
/php-src/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-src/Zend/zend_language_scanner.l
3d4c1d6 08-Dec-2005 Ilia Alshanetsky <iliaa@php.net> Improve fix for bug #35382
/php-src/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-src/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-src/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-src/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-src/Zend/zend_language_scanner.l
187b6cc 21-Oct-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #31341 (escape on curly inconsistent)
/php-src/Zend/zend_language_scanner.l
7c3bdf4 21-Oct-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #34782 (token_get_all() gives wrong result)
/php-src/Zend/zend_language_scanner.l
916815b 03-Aug-2005 foobar <sniper@php.net> Bump up the year
/php-src/Zend/zend_language_scanner.l
ec58143 18-Jul-2005 Rasmus Lerdorf <rasmus@php.net> Valgrind is unhappy that this is not initialized
/php-src/Zend/zend_language_scanner.l
ff06fb7 16-Jun-2005 Zeev Suraski <zeev@php.net> Fixlet
/php-src/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-src/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-src/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-src/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-src/Zend/zend_language_scanner.l
118b7b5 07-Mar-2005 Zeev Suraski <zeev@php.net> Revert // </script> patch
/php-src/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-src/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-src/Zend/zend_language_scanner.l
539b81e 19-Feb-2005 Rui Hirokawa <hirokawa@php.net> fixed #31987 zend-multibyte in ZTS.
/php-src/Zend/zend_language_scanner.l
e3a5c9f 13-Feb-2005 Marcus Boerger <helly@php.net> - Fix doc comment handling
/php-src/Zend/zend_language_scanner.l
37d820b 17-Jan-2005 foobar <sniper@php.net> - Fixed bug #31444 (Memory leak in zend_language_scanner.c)
/php-src/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-src/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-src/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-src/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-src/Zend/zend_language_scanner.l
d96e7a1 29-Jul-2004 Sara Golemon <pollita@php.net> Revert goto opcode
/php-src/Zend/zend_language_scanner.l
5865b36 29-Jul-2004 Sara Golemon <pollita@php.net> Add goto operator by popular request.
/php-src/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-src/Zend/zend_language_scanner.l
afc5a61 14-Jun-2004 Marcus Boerger <helly@php.net> Need {} here
/php-src/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-src/Zend/zend_language_scanner.l
eefdd0e 10-Jun-2004 Marcus Boerger <helly@php.net> Do not require NEWLINE at start of doccomment
/php-src/Zend/zend_language_scanner.l
b2ac395 25-Mar-2004 Derick Rethans <derick@php.net> - Remove old and deprecated <?php_track_vars?> scanner token.
/php-src/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-src/Zend/zend_language_scanner.l
059c533 26-Feb-2004 Marcus Boerger <helly@php.net> Fix __METHOD__ (noticed by Davey Sahfik)
/php-src/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-src/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-src/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-src/Zend/zend_language_scanner.l
796938e 17-Jan-2004 foobar <sniper@php.net> Nuke compile warning by using the LANG_SCNG macro instead
/php-src/Zend/zend_language_scanner.l
910e200 11-Jan-2004 Wez Furlong <wez@php.net> TSRMLS fix
/php-src/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-src/Zend/zend_language_scanner.l
6b87194 08-Jan-2004 Andi Gutmans <andi@php.net> - - A belated happy holidays (by two years)
/php-src/Zend/zend_language_scanner.l
99dec69 29-Nov-2003 Ilia Alshanetsky <iliaa@php.net> Fixed bug #26463 (Incorrect handling of semicolons after heredoc)
/php-src/Zend/zend_language_scanner.l
10def9a 22-Sep-2003 Ilia Alshanetsky <iliaa@php.net> Added missing format.
/php-src/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-src/Zend/zend_language_scanner.l
399db3c 27-Jul-2003 Stanislav Malyshev <stas@php.net> fix crash #24550
/php-src/Zend/zend_language_scanner.l
f68c7ff 10-Jun-2003 James Cox <imajes@php.net> updating license information in the headers.
/php-src/Zend/zend_language_scanner.l
f7f5a5e 02-Jun-2003 Stanislav Malyshev <stas@php.net> MEGA-patch: namespaces are R.I.P.
/php-src/Zend/zend_language_scanner.l
afb748d 29-May-2003 Marcus Boerger <helly@php.net> CS
/php-src/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-src/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-src/Zend/zend_language_scanner.l
65f06d8 10-Apr-2003 Zeev Suraski <zeev@php.net> Revert Harald's commit
/php-src/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-src/Zend/zend_language_scanner.l
0abeba5 07-Apr-2003 foobar <sniper@php.net> Fixed bug #23093 (highlight_string() crashed with __FUNCTION__)
/php-src/Zend/zend_language_scanner.l
bdd3b60 02-Apr-2003 Andrei Zmievski <andrei@php.net> Implement a different way to catch documentation comments.
/php-src/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-src/Zend/zend_language_scanner.l
59af205 01-Apr-2003 Stanislav Malyshev <stas@php.net> Add __NAMESPACE__ auto-constant.
/php-src/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-src/Zend/zend_language_scanner.l
0a3ca34 22-Mar-2003 Shane Caraveo <shane@php.net> fix crash in win32 debug build
/php-src/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-src/Zend/zend_language_scanner.l
b3ebb11 09-Mar-2003 Andi Gutmans <andi@php.net> - Nuke junk
/php-src/Zend/zend_language_scanner.l
26dd849 05-Mar-2003 Zeev Suraski <zeev@php.net> Add support for interfaces
/php-src/Zend/zend_language_scanner.l
535aa63 24-Feb-2003 Zeev Suraski <zeev@php.net> Add 'final'
/php-src/Zend/zend_language_scanner.l
955636a 18-Feb-2003 Zeev Suraski <zeev@php.net> Avoid using a C++ reserved word
/php-src/Zend/zend_language_scanner.l
e52aac9 18-Feb-2003 Wez Furlong <wez@php.net> Implement simple stream support in the ZE scanners.
/php-src/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-src/Zend/zend_language_scanner.l
3341568 13-Feb-2003 Harald Radi <phanto@php.net> MFB PHP_4_3
/php-src/Zend/zend_language_scanner.l
729e470 01-Feb-2003 Sebastian Bergmann <sebastian@php.net> Fix build.
/php-src/Zend/zend_language_scanner.l
333406b 01-Feb-2003 foobar <sniper@php.net> - Added some missing CVS $Id$ tags, headers and footers.
/php-src/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-src/Zend/zend_language_scanner.l
cf05f34 05-Jan-2003 Zeev Suraski <zeev@php.net> MFZE1 - lineno fix
/php-src/Zend/zend_language_scanner.l
11dbaa3 14-Dec-2002 Ilia Alshanetsky <iliaa@php.net> MFZE2
/php-src/Zend/zend_language_scanner.l
e156edb 07-Dec-2002 Zeev Suraski <zeev@php.net> Remove unintentional code
/php-src/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-src/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-src/Zend/zend_language_scanner.l
6d8a643 18-Nov-2002 Andi Gutmans <andi@php.net> - MFZE1
/php-src/Zend/zend_language_scanner.l
ce06e7b 16-Nov-2002 Andi Gutmans <andi@php.net> - MFZE1
/php-src/Zend/zend_language_scanner.l
e1725b2 16-Nov-2002 Andi Gutmans <andi@php.net> - MFZE1
/php-src/Zend/zend_language_scanner.l
78bf1d9 05-Nov-2002 Ilia Alshanetsky <iliaa@php.net> MFZE1
/php-src/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-src/Zend/zend_language_scanner.l
7936a86 02-Nov-2002 Ilia Alshanetsky <iliaa@php.net> MFZE1
/php-src/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-src/Zend/zend_language_scanner.l
d704357 02-Nov-2002 Ilia Alshanetsky <iliaa@php.net> MFZE1 (20214).
/php-src/Zend/zend_language_scanner.l
0bb780b 15-Aug-2002 Zeev Suraski <zeev@php.net> MFZE1
/php-src/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-src/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-src/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-src/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-src/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-src/Zend/zend_language_scanner.l
3eafd22 10-Apr-2002 foobar <sniper@php.net> MFZE1
/php-src/Zend/zend_language_scanner.l
60ccb41 10-Apr-2002 foobar <sniper@php.net> MFZE1
/php-src/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-src/Zend/zend_language_scanner.l
90bd453 01-Mar-2002 Andi Gutmans <andi@php.net> - Remove use of C++ reserved words namespace/this
/php-src/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-src/Zend/zend_language_scanner.l
62dc854 06-Jan-2002 Sebastian Bergmann <sebastian@php.net> Happy New Year.
/php-src/Zend/zend_language_scanner.l
43617d0 18-Dec-2001 Zeev Suraski <zeev@php.net> MFZE1
/php-src/Zend/zend_language_scanner.l
d863d52 11-Dec-2001 Sebastian Bergmann <sebastian@php.net> Update headers.
/php-src/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-src/Zend/zend_language_scanner.l
1735281 22-Sep-2001 Zeev Suraski <zeev@php.net> MFZE1
/php-src/Zend/zend_language_scanner.l
483fc4c 19-Sep-2001 Zeev Suraski <zeev@php.net> MFZE1
/php-src/Zend/zend_language_scanner.l
9f61e47 10-Sep-2001 Zeev Suraski <zeev@php.net> MFZE1 (nuke cplusplus code)
/php-src/Zend/zend_language_scanner.l
29f5dbe 30-Aug-2001 Andi Gutmans <andi@php.net> - Initial support for exceptions.
/php-src/Zend/zend_language_scanner.l
b392fe4 28-Aug-2001 Zeev Suraski <zeev@php.net> MFZE1
/php-src/Zend/zend_language_scanner.l
77c5227 16-Aug-2001 Zeev Suraski <zeev@php.net> MFZE1
/php-src/Zend/zend_language_scanner.l
4f6c95d 11-Aug-2001 Zeev Suraski <zeev@php.net> Whitespace
/php-src/Zend/zend_language_scanner.l
5af7770 07-Aug-2001 Andi Gutmans <andi@php.net> - Sync Engine2 CVS with latest Engine CVS
/php-src/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-src/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-src/Zend/zend_language_scanner.l
f93bfc4 01-Aug-2001 Zeev Suraski <zeev@php.net> Implement fast scanning in the multithreaded environment
/php-src/Zend/zend_language_scanner.l
982cd24 31-Jul-2001 Zeev Suraski <zeev@php.net> the make Sebastian happy part of the day :)
/php-src/Zend/zend_language_scanner.l
d49077f 30-Jul-2001 Zeev Suraski <zeev@php.net> Compile fix
/php-src/Zend/zend_language_scanner.l
4187439 30-Jul-2001 Zeev Suraski <zeev@php.net> More TSRMLS_FETCH work
/php-src/Zend/zend_language_scanner.l
8ce8324 30-Jul-2001 Zeev Suraski <zeev@php.net> More TSRMLS_FETCH annihilation
/php-src/Zend/zend_language_scanner.l
b4f3b9d 28-Jul-2001 Zeev Suraski <zeev@php.net> Redesigned thread safety mechanism - nua nua
/php-src/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-src/Zend/zend_language_scanner.l
0078cee 15-Jul-2001 Zeev Suraski <zeev@php.net> Fix an inline
/php-src/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-src/Zend/zend_language_scanner.l
5b12d60 17-May-2001 Zeev Suraski <zeev@php.net> That's slightly clearer that way :)
/php-src/Zend/zend_language_scanner.l
a514e8f 08-May-2001 Andi Gutmans <andi@php.net> - Fix line numbers when some lines end with \r
/php-src/Zend/zend_language_scanner.l
1e63f44 06-May-2001 Zeev Suraski <zeev@php.net> Support interactive mode in thread-safe builds
/php-src/Zend/zend_language_scanner.l
62bec3a 02-May-2001 Andi Gutmans <andi@php.net> - Handle MAC OS X \r line endings
/php-src/Zend/zend_language_scanner.l
4e71bbe 28-Apr-2001 Zeev Suraski <zeev@php.net> include limits.h if available
/php-src/Zend/zend_language_scanner.l
acd56b0 27-Apr-2001 Andi Gutmans <andi@php.net> - More whitespace fixes while I'm at it.
/php-src/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-src/Zend/zend_language_scanner.l
3118af8 12-Mar-2001 Andi Gutmans <andi@php.net> - White space
/php-src/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-src/Zend/zend_language_scanner.l
d2c9e80 26-Feb-2001 Andi Gutmans <andi@php.net> - Update copyright year
/php-src/Zend/zend_language_scanner.l
f3258b2 03-Jan-2001 Zeev Suraski <zeev@php.net> Fix another case of possible line number corruption
/php-src/Zend/zend_language_scanner.l
1860303 30-Dec-2000 Zeev Suraski <zeev@php.net> Fix possible corruption in line number information
/php-src/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-src/Zend/zend_language_scanner.l
1d35ad3 19-Dec-2000 Stanislav Malyshev <stas@php.net> Add support for ASP tags in one-line comment
/php-src/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-src/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-src/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-src/Zend/zend_language_scanner.l
2d57a5b 14-Nov-2000 Stanislav Malyshev <stas@php.net> Restore compatibility with old broken way
/php-src/Zend/zend_language_scanner.l
0b6a8d0 14-Nov-2000 Stanislav Malyshev <stas@php.net> Better 0x handling - not change non-0x number behaviour
/php-src/Zend/zend_language_scanner.l
89d5983 14-Nov-2000 Stanislav Malyshev <stas@php.net> Attempt at better handling long 0x-numbers, like 0xffffffff
/php-src/Zend/zend_language_scanner.l
464a561 02-Nov-2000 Zeev Suraski <zeev@php.net> Missed those
/php-src/Zend/zend_language_scanner.l
e04fd64 29-Oct-2000 Zeev Suraski <zeev@php.net> Some more work on the INI parser/scanner
/php-src/Zend/zend_language_scanner.l
7b0d92d 29-Oct-2000 Zeev Suraski <zeev@php.net> Unify the names of these last 3 files...
/php-src/Zend/zend_language_scanner.l