summaryrefslogtreecommitdiff
path: root/Zend/zend_language_scanner.c
Commit message (Collapse)AuthorAgeFilesLines
* - Fixed bug #60350 (No string escape code for ESC (ascii 27), normally \e)Felipe Pena2011-11-301-0/+4
| | | | | patch by: php at mickweiss dot com
* Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-354/+355
|
* Fix bug #55445 (Incomplete implementation of <?= being independant of ↵Etienne Kneuss2011-08-171-2/+2
| | | | short_open_tag)
* Callable typehint following the rules of is_callable($arg, false);Hannes Magnusson2011-08-161-641/+689
|
* - Fixed bug #55378: binary number literal returns float number though its valueDerick Rethans2011-08-071-2/+2
| | | | | is enough small
* Fixed Bug #55214 use of __CLASS__ within trait returns trait name not class ↵Stefan Marr2011-07-311-150/+161
| | | | name [TRAITS] [DOC]
* Added __TRAIT__ magic constant [TRAITS] [DOC]Stefan Marr2011-07-311-1658/+1716
| | | | | | | # __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.
* - add binary suport, FR #50638, as defined in RFC ↵Pierre Joye2011-07-271-2240/+2310
| | | | https://wiki.php.net/rfc/binnotation4ints, patch by Jonah Harris
* - Improved parse error messagesFelipe Pena2011-06-231-335/+337
|
* scalar types cleanupStanislav Malyshev2011-06-031-1527/+1470
|
* oops, can't use that macro hereRasmus Lerdorf2011-05-161-3/+3
|
* Suppress a dozen unused return value warnings in places where the returnRasmus Lerdorf2011-05-161-3/+3
| | | | | value is really not useful to us.
* removing scalar types in trunkStanislav Malyshev2011-05-151-3230/+2170
|
* - Removed unused variable (Pierrick)Felipe Pena2011-04-031-354/+353
|
* Fixed multibyte related issuesDmitry Stogov2011-03-141-356/+354
|
* Fix zend.multibyte oddities. Hope this will address all the known problems.Moriyoshi Koizumi2011-03-061-375/+397
|
* Fixed Bug #53629 (memory leak inside highlight_string()).Ilia Alshanetsky2011-01-031-353/+359
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* - Fix buildFelipe Pena2010-12-201-477/+403
|
* * Refactor zend_multibyte facility.Moriyoshi Koizumi2010-12-191-384/+576
| | | | | Now mbstring.script_encoding is superseded by zend.script_encoding.
* - cleanup broken double definition of php_win_err and rename it while being ↵Pierre Joye2010-11-251-1/+1
| | | | there
* Added multibyte suppport by default. Previosly php had to be compiled with ↵Dmitry Stogov2010-11-241-437/+415
| | | | --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini (regenerated scanner)
* - not used anymorePierre Joye2010-09-151-1/+1
|
* RegeneratedDmitry Stogov2010-09-151-353/+355
|
* - Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)Felipe Pena2010-06-301-5/+17
|
* - MF5.3: Reverted fix for bug #48930 (due binary compatibility breakage)Felipe Pena2010-06-301-4/+3
| | | | | # To commit a new common fix
* - Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3)Felipe Pena2010-06-271-2/+3
|
* Added support for numeric & scalar type hint as defined within Ilia Alshanetsky2010-05-241-1649/+1904
| | | | | http://wiki.php.net/rfc/typecheckingstrictandweak RFC
* Allow arbitrary number of space characters between type-hint and ↵Ilia Alshanetsky2010-05-231-229/+360
| | | | method/function parameter
* - Added scalar typehinting.Derick Rethans2010-05-201-2144/+2850
|
* Implemented Traits for PHP as proposed in the RFC [TRAITS]Stefan Marr2010-04-221-845/+920
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # 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)
* regenerated filesDmitry Stogov2010-04-201-334/+340
|
* - those are in 5.3.2 now, merge to 5.3.2 section is comingPierre Joye2010-02-111-1/+1
|
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* - Fixed bug #50145 (crash while running bug35634.phpt)Felipe Pena2009-11-171-5/+5
|
* - Fix skipsJani Taskinen2009-09-101-1/+1
|
* RegenerateMatt Wilmas2009-05-051-5332/+3830
|
* Fixed bug #47516 (nowdoc can not be embed in heredoc but can be embed in ↵Dmitry Stogov2009-03-261-137/+141
| | | | double quote)
* Fixed bug #47038 (Memory leak in include)Dmitry Stogov2009-03-251-399/+391
|
* MFH: Fix scanner handling of NULL values in heredoc, nowdoc, strings, ↵Brian Shire2009-03-161-3709/+3644
| | | | comments, and non-parsed content.
* MFH: Add proper EOF handling for language scanner. Fixes bug #46817.Brian Shire2009-03-111-3916/+4174
|
* UnmangleRasmus Lerdorf2009-02-141-16/+0
|
* 2.4.1 is safeRasmus Lerdorf2009-02-141-0/+16
|
* MFH: Corrected fix for bug #46844 to only trigger on the 1st line of CLIIlia Alshanetsky2009-01-091-386/+365
| | | | | opened files.
* - MFH: Year++Felipe Pena2009-01-021-1/+1
|
* Fixed bug #46844 (php scripts or included files with first line startingIlia Alshanetsky2009-01-011-3/+3
| | | | | with # have the 1st line missed from the output).
* - Next step in namespaces, using / as namespace separator.Marcus Boerger2008-11-041-2605/+2615
|
* - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macroFelipe Pena2008-10-241-1/+1
|
* - MFH: Removed some TSRMLS_FETCH()sFelipe Pena2008-08-151-4/+4
|
* Fixed bug #45779 (regression with shebang lines processing)Dmitry Stogov2008-08-121-363/+365
|