summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'PHP-8.0'George Wang2021-03-052-37/+54
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.4' into PHP-8.0George Wang2021-03-052-37/+54
| |\ \ | | |/
| | * Merge branch 'PHP-7.4' of git.php.net:php-src into PHP-7.4George Wang2021-03-051-1/+1
| | |\
| | * | LiteSpeed SAPI v7.9: Process manager keeps forked child process alive for ↵George Wang2021-03-052-38/+55
| | | | | | | | | | | | | | | | longer time based on load. Reduces PM overhead for busy setup.
* | | | Merge branch 'PHP-8.0'Nikita Popov2021-03-051-0/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Add supports for FreeBSD's PROT_MAX to let mprotect knows X flag can be applied in addition.
| * | | Add supports for FreeBSD's PROT_MAX to let mprotect knows X flag can be ↵David Carlier2021-03-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | applied in addition. Closes GH-6738.
* | | | Reduce date test threshold furtherNikita Popov2021-03-051-1/+1
| | | | | | | | | | | | | | | | Still seeing the occasional spurious failure.
* | | | Merge branch 'PHP-8.0'Christoph M. Becker2021-03-051-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Print error code if CreateMutex() fails
| * | | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-051-1/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | * PHP-7.4: Print error code if CreateMutex() fails
| | * | Print error code if CreateMutex() failsChristoph M. Becker2021-03-051-1/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | This issue came up recently in a bug report[1]; without the error code, users can barely guess why the function failed. [1] <https://bugs.php.net/80812> Closes GH-6745.
* | | typoDmitry Stogov2021-03-051-1/+1
| | |
* | | Reduce threshold in ext/date/tests/bug73837.phptNikita Popov2021-03-041-1/+2
| | | | | | | | | | | | Now that this code is faster, we're seeing many spurious failures.
* | | Update mysqli tests to work with newer MySQL serverMax Semenik2021-03-044-23/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * @@session.old_passwords is present only in 5.6 and 5.7. Newer versions already behave as if they have old_passwords=2. * SET PASSWORD FOR ... = PASSWORD(...) syntax was removed in 8.0. For all affected tests, versions that don't support newer SQL are already explicitly excluded with version checks. Closes GH-6729.
* | | Make the nocache tag actually workNikita Popov2021-03-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | If nocache is used, then we should return an empty string result, so the test doesn't get marked as borked. Also limit to an occurrence at the start, just like other skip tags.
* | | Add mechanism to skip the skipif cacheNikita Popov2021-03-045-1/+7
| | | | | | | | | | | | | | | | | | If the SKIPIF section return nocache, don't cache the result. This is used by tests that perform complex test set in conjunction with skip checks, and need to be evaluated every time.
* | | Fix dynamic func def persist with preloadingNikita Popov2021-03-041-0/+1
| | | | | | | | | | | | | | | If we find an existing serialization of the op_array, of course we also need to actually make use of it...
* | | run-tests.php: Preserve .php on leak in one more placeNikita Popov2021-03-041-1/+1
| | |
* | | Merge branch 'PHP-8.0'Dmitry Stogov2021-03-041-1/+5
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fix ASAN warning (Zend/zend_string.h:165:2: runtime error: null pointer passed as argument 2 of memcpy(), which is declared to never be null)
| * | Fix ASAN warning (Zend/zend_string.h:165:2: runtime error: null pointer ↵Dmitry Stogov2021-03-041-1/+5
| | | | | | | | | | | | passed as argument 2 of memcpy(), which is declared to never be null)
* | | Cache haschildren/getchildren methods of recursive iterators.Dmitry Stogov2021-03-041-9/+26
| | |
* | | Remove duplicated SSL_CTX_set_verify()twosee2021-03-041-1/+0
| | | | | | | | | | | | | | | | | | | | | Duplicated with line 920. Our minimal OpenSSL version is v1.0.1 (See https://github.com/openssl/openssl/blob/OpenSSL_1_0_1-stable/ssl/ssl_lib.c#L2039). Removing it does not affect program behavior. Closes GH-6751.
* | | Avoid useless date conversionDmitry Stogov2021-03-041-1/+12
| | |
* | | Explicitly print reference wrappers in debug_zval_dump()Nikita Popov2021-03-046-56/+142
| | | | | | | | | | | | Closes GH-6750.
* | | Switch to new ZPPDmitry Stogov2021-03-041-3/+3
| | |
* | | Switch to new ZPPDmitry Stogov2021-03-041-3/+5
| | |
* | | Loop invariant code motionDmitry Stogov2021-03-041-11/+12
| | |
* | | Merge branch 'PHP-8.0'Christoph M. Becker2021-03-031-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fix #80825: ZipArchive::isCompressionMethodSupported does not exist
| * | Fix #80825: ZipArchive::isCompressionMethodSupported does not existChristoph M. Becker2021-03-032-1/+5
| | | | | | | | | | | | | | | `HAVE_METHOD_SUPPORTED` should have been defined after we updated to libzip 1.7.1 months ago.
* | | Add test cases for bcmath ValueErrorsAlex McLean2021-03-0310-0/+232
| | | | | | | | | | | | | | | | | | Closes GH-6714 Signed-off-by: George Peter Banyard <girgias@php.net>
* | | Replaced deprecated `hw.ncpu` with `hm. logicalcpu`Gabriel Caruso2021-03-031-1/+1
| | | | | | | | | | | | | | | | | | Found that at ziglang/zig#1252. Closes GH-5541
* | | Merge branch 'PHP-8.0'Christoph M. Becker2021-03-031-3/+3
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fix test wrt. server.inc changes
| * | Fix test wrt. server.inc changesChristoph M. Becker2021-03-031-3/+3
| | |
* | | Merge branch 'PHP-8.0'Christoph M. Becker2021-03-032-13/+31
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fix #78719: http wrapper silently ignores long Location headers
| * | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-033-13/+33
| |\ \ | | |/ | | | | | | | | | * PHP-7.4: Fix #78719: http wrapper silently ignores long Location headers
| | * Fix #78719: http wrapper silently ignores long Location headersChristoph M. Becker2021-03-033-13/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When opening HTTP streams, and reading the headers, we currently discard header lines longer than `HTTP_HEADER_BLOCK_SIZE` (1024 bytes). While this is not generally forbidden by RFC 7230, section 3.2.5, it is not generally allowed either, since that may change the "message framing or response semantics". We thus fix this by allowing arbitrarily long header lines. Closes GH-6720.
* | | Fix bug #80816 Document the removal of alias class entries from ext/splMáté Kocsis2021-03-031-0/+6
| | | | | | | | | | | | Closes GH-6748 [skip-ci]
* | | Add const to zend_extension_version_info.build_idLevi Morrison2021-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | This is a follow-up to: https://github.com/php/php-src/commit/3c6ab4b3ea5854fd44a2945bb65bf027a6c94890 Closes GH-6744.
* | | Fixed bug #80808Nikita Popov2021-03-025-3/+36
| | | | | | | | | | | | | | | | | | If the ZEROFILL flag is set for a field, do not convert it into an integer (text protocol) or convert it explicitly into a padded string (binary protocol).
* | | Merge branch 'PHP-8.0'Dmitry Stogov2021-03-022-1/+50
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fixed bug #80802: (zend_jit_fetch_indirect_var assert failure with tracing JIT)
| * | Fixed bug #80802: (zend_jit_fetch_indirect_var assert failure with tracing JIT)Dmitry Stogov2021-03-012-1/+50
| | |
* | | Optimized object conversion to array without rebulding properties HashTableDmitry Stogov2021-03-015-0/+66
| | |
* | | Optimized object encoding without rebulding properties HashTableDmitry Stogov2021-03-011-0/+61
| | |
* | | Merge branch 'PHP-8.0'Christoph M. Becker2021-03-012-16/+179
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fix #80751: Comma in recipient name breaks email delivery
| * | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-012-16/+179
| |\ \ | | |/ | | | | | | | | | * PHP-7.4: Fix #80751: Comma in recipient name breaks email delivery
| | * Fix #80751: Comma in recipient name breaks email deliveryChristoph M. Becker2021-03-012-16/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far, `SendText()` simply separates potential email address lists at any comma, disregarding that commas inside a quoted-string do not delimit addresses. We fix that by introducing an own variant of `strtok_r()` which caters to quoted-strings. We also make `FormatEmailAddress()` aware of quoted strings. We do not cater to email address comments, and potentially other quirks of RFC 5322 email addresses, but catering to quoted-strings is supposed to solve almost all practical use cases. Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> Closes GH-6735.
* | | Declare XMLReader propertiesMáté Kocsis2021-03-012-1/+113
| | | | | | | | | | | | Closes GH-6741
* | | Merge branch 'PHP-8.0'Nikita Popov2021-03-012-0/+22
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Fixed bug #80811
| * | Fixed bug #80811Nikita Popov2021-03-013-0/+24
| | | | | | | | | | | | | | | When filling in defaults for skipped params, make sure that reference parameters get the expected reference wrapper.
* | | Merge branch 'PHP-8.0'Nikita Popov2021-03-012-1/+16
|\ \ \ | |/ / | | | | | | | | | * PHP-8.0: Always remove HT iterators, even for uninit HT
| * | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2021-03-012-1/+16
| |\ \ | | |/ | | | | | | | | | * PHP-7.4: Always remove HT iterators, even for uninit HT