History log of /PHP-8.0/Zend/zend_language_scanner.l (Results 276 – 300 of 474)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# cd6415f1 22-Apr-2010 Stefan Marr

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 dis

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)

show more ...


# dd5c478b 20-Apr-2010 Dmitry Stogov

Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.


Revision tags: php-5.3.2, php-5.2.13, php-5.3.2RC3, php-5.3.2RC2, php-5.2.13RC2, php-5.2.13RC1
# 3defe762 05-Jan-2010 Sebastian Bergmann

sed -i "s#1998-2009#1998-2010#g" **/*.re **/*.y **/*.l


Revision tags: php-5.3.2RC1, php-5.2.12, php-5.2.12RC4, php-5.2.12RC3, php-5.2.12RC2, php-5.3.1
# 5dd6b9ff 17-Nov-2009 Felipe Pena

- Fixed bug #50145 (crash while running bug35634.phpt)


Revision tags: php-5.3.1RC4, php-5.2.12RC1, php-5.3.1RC3, php-5.3.1RC2, oci8-1.4.0, php-5.2.11, php-5.2.11RC3, php-5.3.1RC1, php-5.2.11RC2, php-5.2.11RC1, php-5.3.0, php-5.3.0RC4, php-5.2.10, php-5.2.10RC2, php-5.3.0RC3, php-5.2.10RC1, php-5.3.0RC2
# 09034cf3 05-May-2009 Matt Wilmas

MFH: Implemented manual scanning for strings/comments, plus misc. fixes


# 7ef3db0e 26-Mar-2009 Dmitry Stogov

Fixed bug #47516 (nowdoc can not be embed in heredoc but can be embed in double quote)


# bcd9099b 25-Mar-2009 Dmitry Stogov

Fixed bug #47038 (Memory leak in include)


Revision tags: php-5.3.0RC1, RELEASE_1_3_5
# dd031eee 16-Mar-2009 Brian Shire

MFH: Fix scanner handling of NULL values in heredoc, nowdoc, strings, comments, and non-parsed content.


# 9c16bfa1 11-Mar-2009 Brian Shire

MFH: Add proper EOF handling for language scanner. Fixes bug #46817.


Revision tags: php-5.2.9, php-5.2.9RC3, php-5.2.9RC2, php-5.2.9RC1, php-5.3.0beta1
# 71ea9535 09-Jan-2009 Ilia Alshanetsky

MFH: Corrected fix for bug #46844 to only trigger on the 1st line of CLI
opened files.


# bfcea7ff 02-Jan-2009 Felipe Pena

- MFH: Year++


# fec58a89 01-Jan-2009 Ilia Alshanetsky

Fixed bug #46844 (php scripts or included files with first line starting
with # have the 1st line missed from the output).


Revision tags: NEWS, php-5.2.8, BEFORE_HEAD_NS_CHANGES_MERGE, php-5.3.0alpha3, php-5.3.0alpha2, php-5.2.7, php-5.2.7RC5, php-5.2.7RC4, BEFORE_HEAD_NS_CHANGE, BEFORE_NS_RULES_CHANGE, php-5.2.7RC3
# 7126de49 04-Nov-2008 Marcus Boerger

- Next step in namespaces, using / as namespace separator.


Revision tags: php-5.2.7RC2, php-5.2.7RC1
# 85ab4235 15-Aug-2008 Felipe Pena

- MFH: Removed some TSRMLS_FETCH()s


# 05376077 12-Aug-2008 Dmitry Stogov

Fixed bug #45779 (regression with shebang lines processing)


Revision tags: php-4.4.9, php-5.3.0alpha1
# 555a9b07 30-Jul-2008 Felipe Pena

- MFH: Fixed BC break: The magic constants must be case-insensitive.


# b9eaa801 28-Jul-2008 Moriyoshi Koizumi

- SCNG(input_filter) can be null if the script encoding is idential to
the internal encoding.


# 1782511e 28-Jul-2008 Moriyoshi Koizumi

- WS


# a28497d6 28-Jul-2008 Moriyoshi Koizumi

- Fix __halt_compiler() weirdness with zend-mulibyte enabled


# 478acfd8 26-Jul-2008 Dmitry Stogov

. 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 strin

. 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)

show more ...


# 20bca30d 24-Jul-2008 Moriyoshi Koizumi

- No need to advance the cursor


# 4f42ed39 24-Jul-2008 Moriyoshi Koizumi

- Revived zend multibyte


Revision tags: php-4.4.9RC1
# b8673e35 08-Jul-2008 Nuno Lopes

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


# ea11f6df 06-Jul-2008 Nuno Lopes

fix last part of bug #44654


# 3ba706cc 06-Jul-2008 Nuno Lopes

fix first part of bug #44654: scan for opening tag <? after a # char


1...<<111213141516171819