Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 1, 2013
  1. @laruence

    Happy New Year

    laruence authored
Commits on Dec 25, 2012
  1. @dstogov

    Removed deprecated fields

    dstogov authored
  2. @dstogov

    Merge branch 'PHP-5.4' into PHP-5.5

    dstogov authored
    * PHP-5.4:
      Traits refactoring
  3. @dstogov

    Traits refactoring

    dstogov authored
Commits on Dec 13, 2012
  1. @dstogov
Commits on Aug 26, 2012
  1. @lstrojny
  2. @sjlangley @lstrojny

    Strong types for the result codes SUCCESS & FAILURE. These are common

    sjlangley authored lstrojny committed
    symbol names and using #defines can cause conflicts.
Commits on Aug 21, 2012
  1. Bump version.

    Sebastian Bergmann authored
Commits on May 24, 2012
  1. add support for the alloc_size __attribute__ (through ZEND_ATTRIBUTE_…

    Nuno Lopes authored
    …ALLOC_SIZE and ZEND_ATTRIBUTE_ALLOC_SIZE2
    
    requires GCC >= 4.3 or clang >= 3.2 to perform anything useful
Commits on Feb 16, 2012
  1. @smalyshev

    make ZEND_SIGNALS configurable, off by default

    smalyshev authored
    also make ZEND_SIGNALS enabled and disabled binary-compatible
  2. @smalyshev

    make ZEND_SIGNALS configurable, off by default

    smalyshev authored
    also make ZEND_SIGNALS enabled and disabled binary-compatible
Commits on Jan 4, 2012
  1. @laruence
  2. @laruence
Commits on Jan 1, 2012
  1. @felipensp

    - Year++

    felipensp authored
  2. @felipensp

    - Year++

    felipensp authored
Commits on Nov 22, 2011
  1. @tony2001
  2. @tony2001
Commits on Sep 13, 2011
  1. Fixed ZE specific compile warnings (Bug #55629)

    Dmitry Stogov authored
  2. Fixed ZE specific compile warnings (Bug #55629)

    Dmitry Stogov authored
Commits on Aug 16, 2011
  1. @bjori
  2. @bjori
Commits on Jun 22, 2011
  1. Zend Signal Handling

    Ilia Alshanetsky authored
Commits on Jun 3, 2011
  1. @smalyshev

    scalar types cleanup

    smalyshev authored
  2. @smalyshev

    scalar types cleanup

    smalyshev authored
Commits on Jun 2, 2011
  1. Zend Signal Handling (see RFC: https://wiki.php.net/rfc/zendsignals)

    Ilia Alshanetsky authored
    This needs to go into 5.4 as well, but will wait for Pierre to review win32 situation
    
    # Patch by Lucas Nealan, Arnaud Le Blanc, Brian Shire & Ilia Alshanetsky
Commits on Jan 16, 2011
  1. @smalyshev
Commits on Jan 1, 2011
  1. @felipensp

    - Year++

    felipensp authored
Commits on Oct 14, 2010
  1. marked char pointer arguments as const in lots of

    Hartmut Holzgraefe authored
    places where strings pointed to are not modified 
    to prevent compiler warnings about discarded qualifiers ...
Commits on Sep 15, 2010
  1. - Improved memory usage

    Dmitry Stogov authored
      . 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.
Commits on May 24, 2010
  1. Added caches to eliminate repeatable run-time bindings of functions, …

    Dmitry Stogov authored
    …classes, constants, methods and properties
Commits on May 20, 2010
  1. - Added scalar typehinting.

    Derick Rethans authored
Commits on Apr 22, 2010
  1. Implemented Traits for PHP as proposed in the RFC [TRAITS]

    Stefan Marr authored
    # 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)
  2. Optimized access to global constants using values with pre-calculated…

    Dmitry Stogov authored
    … hash_values from litersls table
Commits on Apr 20, 2010
  1. Updated version numbers

    Dmitry Stogov authored
Something went wrong with that request. Please try again.