Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Oct 22, 2015
  1. @KalleZ

    Zend Engine 3.1.0-dev for master

    KalleZ committed
Commits on Sep 11, 2015
  1. @laruence

    Remove free_string_zval

    laruence committed
Commits on Aug 28, 2015
  1. @dstogov

    HANDLE_BLOCK_INTERRUPTIONS() is not used by SAPIs anymore. It may be …

    dstogov committed
    …useful only when PHP configured with --enable-zend-signals.
Commits on Aug 26, 2015
  1. @dstogov
Commits on Aug 19, 2015
  1. @dstogov

    Fixed typo

    dstogov committed
  2. @dstogov
Commits on Jul 3, 2015
  1. @trowski
  2. @trowski
Commits on Apr 6, 2015
  1. @nikic

    Always throw TypeException on throwing zpp failures

    nikic committed
    Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to
    report FAILURE errors using a TypeException instead of a Warning,
    like it would happen in strict mode.
    Adds a zend_parse_parameters_throw() convenience function, which
    invokes zpp with this flag.
    Converts all cases I could identify, where we currently have
    throwing zpp usage in constructors and replaces them with this API.
    Error handling is still replaced to EH_THROW in some cases to handle
    other, domain-specific errors in constructors.
Commits on Mar 18, 2015
  1. @ircmaxell

    Refactor error implementation significantly to centralize error mode …

    ircmaxell committed
    …behavior. Add zend_internal_type_error() function
Commits on Mar 7, 2015
  1. @laruence

    Fixed zend_hash_append result duplicated key

    laruence committed
    actually, maybe we should precalculate before calling zend_hash_appen
    when we are not sure whether the hash is caclculated(prop_info->name).
    but it looks a little ugly.. (also for zend_string_copy)
Commits on Mar 3, 2015
  1. @dstogov

    Use zend_string* instead of char* for opened_patch handling. Avoid re…

    dstogov committed
    …allocations and improve string reuse.
Commits on Feb 16, 2015
  1. @weltling

    made ZEND_TSRMLS_CACHE_* macros look like function calls

    weltling committed
    which also comply with the current semantics for such macros
Commits on Feb 6, 2015
  1. @dstogov
Commits on Jan 15, 2015
  1. @laruence

    bump year

    laruence committed
Commits on Jan 10, 2015
  1. @smalyshev

    trailing whitespace removal

    smalyshev committed
Commits on Dec 14, 2014
  1. @weltling
Commits on Dec 13, 2014
  1. @weltling
Commits on Dec 6, 2014
  1. @weltling

    Merge remote-tracking branch 'origin/master' into native-tls

    weltling committed
    * origin/master: (35 commits)
      Fixed bug #68398 msooxml matches too many archives
      Fix zpp call in apache_getenv()
      Drop unnecessary zval containers
      fixed test
      C89 compat
      add include for missing localeconv_r proto
      updated NEWS
      Fixed bug #65230 setting locale randomly broken
      Fix compilation error (ref #68424)
      Removed useless handlers
      Move checks for references into slow paths of operator functions. Remove duplicate opcode handlers.
      Revert unintentional docblock change
      Restored zip/oci8 PHP 4 code, add PHP 7 checks
      Note macro removal in UPGRADING.INTERNALS
      Removed ZEND_ENGINE_2 checks (and ZE1 code, it's been a decade!)
      Zend Engine 3
      Updated NEWS
      Updated NEWS
      Updated NEWS
      Start adding new attribute to control multi statements
Commits on Dec 5, 2014
  1. @TazeTSchnitzel

    Zend Engine 3

    TazeTSchnitzel committed
Commits on Oct 24, 2014
  1. @weltling

    Merge remote-tracking branch 'origin/master' into native-tls

    weltling committed
    * origin/master: (214 commits)
      fix datatype mismatch warnings
      fix datatype mismatches
      fix datatype mismatches
      fix datatype mismatches
      fix datatype mismatch warnings
      fix datatype mismatch warnings
      fix datatype mismatch warnings
      fix datatype mismatch warning
      fix datatype mismatches
      fix datatype mismatch warnings
      Re-add phpdbg to travis
      Added some NEWS
      Make xml valid (missing space between attrs)
      Fix info classes file name in xml
      Add note about <eval> tag for errors in
      Name the tag <eval> if the error id during ev cmd
      Do not print out xml as PHP print...
      Fix output to wrong function
      Fixed parameter order on %.*s
      Too much copypaste...
Commits on Oct 22, 2014
  1. @weltling

    fix datatype mismatches

    weltling committed
Commits on Oct 15, 2014
  1. @weltling

    moved most of the core to use static tsrm ls cache pointer

    weltling committed
    plus apache2handler, cli and cgi
Commits on Oct 3, 2014
  1. @weltling

    Merge remote-tracking branch 'origin/master' into native-tls

    weltling committed
    * origin/master:
      remove the remains of dsp files handling
      fix EX usage
      remove misprint parentheses
      remove misprint parentheses
      Replaced EG(This) and EX(object) with EX(This). Internal functions now recieves zend_execute_data as the first argument.
      And this one...
      It should be in extern c
      Remove useless condition
      NEWS entry for previous commit
      NEWS entry for previous commit
      add IPv6 support to php-fpm
      Micro optimization for the most frequency case
      Add hash to EXTENSIONS file
      Remove extensions which are long gone
      we also have xz release tarballs since 5.5
      Fix ZTS build
      improved file size computation in stat()
      Fixed incorrect compilation
      5.5.19 now
  2. @dstogov

    Replaced EG(This) and EX(object) with EX(This).

    dstogov committed
    Internal functions now recieves zend_execute_data as the first argument.
Commits on Oct 1, 2014
  1. @weltling
Commits on Sep 25, 2014
  1. @weltling

    reworked the patch, less new stuff but worky

    weltling committed
    TLS is already used in TSRM, the way exporting the tsrm cache through
    a thread local variable is not portable. Additionally, the current
    patch suffers from bugs which are hard to find, but prevent it to
    be worky with apache. What is done here is mainly uses the idea
    from the RFC patch, but
    - __thread variable is removed
    - offset math and declarations are removed
    - extra macros and definitions are removed
    What is done merely is
    - use an inline function to access the tsrm cache. The function uses
      the portable tsrm_tls_get macro which is cheap
    - all the TSRM_* macros are set to placebo. Thus this opens the way
      remove them later
    Except that, the logic is old. TSRMLS_FETCH will have to be done once
    per thread, then tsrm_get_ls_cache() can be used. Things seeming to be
    worky are cli, cli server and apache. I also tried to enable bz2
    shared and it has worked out of the box. The change is yet minimal
    diffing to the current master bus is a worky start, IMHO. Though will
    have to recheck the other previously done SAPIs - embed and cgi.
    The offsets can be added to the tsrm_resource_type struct, then
    it'll not be needed to declare them in the userspace. Even the
    "done" member type can be changed to int16 or smaller, then adding
    the offset as int16 will not change the struct size. As well on the
    todo might be removing the hashed storage, thread_id != thread_id and
    linked list logic in favour of the explicit TLS operations.
Commits on Sep 22, 2014
  1. @weltling

    basic windows fix

    weltling committed
Commits on Sep 18, 2014
  1. @dstogov
Commits on Sep 15, 2014
  1. @weltling
Commits on Sep 8, 2014
  1. @weltling

    made Visual Studio to understand that zend_error_noreturn() will not …

    weltling committed
    - windows only, on linux gcc would cause a warning that the function returns,
      as no noreturn functions are used
    - ZEND_NORETURN works on windows as well now, using __declspec(noreturn),
      which is useful for the other cases
    - one more function call will be needed, which is not critical for the
      error reporting
    - the way is open to enable the same for gcc as soon as it's not causing a warning
Commits on Sep 6, 2014
  1. @nikic

    Revert "Move safe_address into zend_multiply.h"

    nikic committed
    This reverts commit 43b02e1.
    I'm getting symbol resolution issues for zend_error_noreturn in the, so reverting this for now.
  2. @nikic

    Move safe_address into zend_multiply.h

    nikic committed
    This allows reuse in zend_arena_calloc.
    Also renamed the function to zend_safe_address as it's no longer
    private to the allocator.
Commits on Sep 3, 2014
  1. @nikic

    Disable format string checking by default

    nikic committed
    Instead of removing format attributes altogether, disable the checks
    by default. This allows you to do a build with format string checks
    and filter out the false positives (basically anything mentioning
Commits on Sep 1, 2014
  1. @dstogov
Something went wrong with that request. Please try again.