Skip to content
Permalink
Branch: master
Commits on Jun 26, 2020
  1. Simplify and fix php-cgi detection

    nikic committed Jun 26, 2020
    Make it work for installed PHP binaries.
  2. Merge branch 'PHP-7.4'

    nikic committed Jun 26, 2020
    * PHP-7.4:
      Fixed bug #79741
  3. Merge branch 'PHP-7.3' into PHP-7.4

    nikic committed Jun 26, 2020
    * PHP-7.3:
      Fixed bug #79741
  4. Fixed bug #79741

    nikic committed Jun 26, 2020
  5. Haiku proc_open build fix, *pty api resides on the BSD library

    devnexen authored and nikic committed Jun 26, 2020
    Closes GH-5770.
  6. Better leak fix for cgi -s / -w

    nikic committed Jun 26, 2020
    We also need to go through request shutdown. The naming is a bit
    confusing, but it's fine to go through fastcgi_request_done even
    if not using fastcgi. Whether we loop or not is checked separately.
  7. Cache __unserialize() instead of unserialize()

    nikic committed Jun 26, 2020
    We should use these cache slots for the new object serialization
    mechanism rather than the old one.
  8. Merge branch 'PHP-7.4'

    nikic committed Jun 26, 2020
    * PHP-7.4:
      Fixed bug #79740
  9. Fixed bug #79740

    nikic committed Jun 26, 2020
  10. Use cheaper zend_hash_find_ex() to handle IS_CONST index

    dstogov committed Jun 26, 2020
  11. Fix uninitialized reads in min/max

    nikic committed Jun 26, 2020
    We need to use the unstable comparison function here, the fallback
    order is not initialized in this context.
  12. Clear last error before shutting down memory manager

    nikic committed Jun 25, 2020
    The last error is allocated using ZMM, make sure it's cleared
    beforehand.
    
    It would probably be better to allocate it persistently outside
    of requests.
Commits on Jun 25, 2020
  1. Fixed incorrect type guard

    dstogov committed Jun 25, 2020
  2. Move exception check to cold path.

    dstogov committed Jun 25, 2020
  3. Optimization for +/- int(0)

    dstogov committed Jun 25, 2020
  4. Improve tracing JIT for FETCH_THIS + FETCH_OBJ_*

    dstogov committed Jun 25, 2020
  5. Fix leaks in cgi strip/highlight mode

    nikic committed Jun 25, 2020
  6. Fix leaks in Phar::webPhar()

    nikic committed Jun 25, 2020
  7. Don't throw warning if exception thrown during dom validation

    nikic committed Jun 25, 2020
  8. Avoid warning on exception in xsl ext

    nikic committed Jun 25, 2020
  9. ensure all files have same date in official archives

    remicollet committed Jun 25, 2020
  10. Avoid $this check

    dstogov committed Jun 25, 2020
  11. Cheaper exception checks

    dstogov committed Jun 25, 2020
  12. Don't include trailing newline in comment token

    nikic committed Feb 15, 2020
    Don't include a trailing newline in T_COMMENT tokens, instead leave
    it for a following T_WHITESPACE token. The newline does not belong
    to the comment logically, and this makes for an ugly special case,
    as other tokens do not include trailing newlines.
    
    Whitespace-sensitive tooling will want to either forward or backward
    emulate this change.
    
    Closes GH-5182.
  13. Make sorting stable

    nikic committed Mar 4, 2020
    Make user-exposed sorts stable, by storing the position of elements
    in the original array, and using those positions as a fallback
    comparison criterion. The base sort is still hybrid q/insert.
    
    The use of true/false comparison functions is deprecated (but still
    supported) and should be replaced by -1/0/1 comparison functions,
    driven by the <=> operator.
    
    RFC: https://wiki.php.net/rfc/stable_sorting
    
    Closes GH-5236.
  14. Increase timeout on sanitizer job

    nikic committed Jun 25, 2020
    This is starting to hit the limit. Let it run for 3:30 hours.
  15. Don't use iterator_funcs_ptr if it is null

    nikic committed Jun 25, 2020
    This avoids ubsan warnings. Alternatively we could always initialize
    iterator_funcs_ptr for aggregates, instead of doing so only for
    non-internal ones.
Commits on Jun 24, 2020
  1. Remove useless prototype for spl_heap_get_iterator

    alexdowad committed May 12, 2020
  2. Update UPGRADING.INTERNALS re: removed --disable-inline-optimization …

    alexdowad committed Jun 18, 2020
    …switch
    
    This build configuration switch was removed in 3a19726.
  3. Sort extensions alphabetically

    nikic committed Jun 24, 2020
    This makes it easier to compare mime data from different sources.
  4. Generate tabs in generate_mime_type_map.php

    nikic committed Jun 24, 2020
    The PHP file is space indented, but we need the C file to be tab
    indented.
  5. Introduce InternalIterator

    nikic committed Feb 26, 2020
    Userland classes that implement Traversable must do so either
    through Iterator or IteratorAggregate. The same requirement does
    not exist for internal classes: They can implement the internal
    get_iterator mechanism, without exposing either the Iterator or
    IteratorAggregate APIs. This makes them usable in get_iterator(),
    but incompatible with any Iterator based APIs.
    
    A lot of internal classes do this, because exposing the userland
    APIs is simply a lot of work. This patch alleviates this issue by
    providing a generic InternalIterator class, which acts as an
    adapater between get_iterator and Iterator, and can be easily
    used by many internal classes. At the same time, we extend the
    requirement that Traversable implies Iterator or IteratorAggregate
    to internal classes as well.
    
    Closes GH-5216.
Older
You can’t perform that action at this time.