summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Fix #80654: file_get_contents() maxlen fails above (2**31)-1 bytesChristoph M. Becker2021-02-013-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We remove the arbitrary restriction to `INT_MAX`; it is superfluous on 32bit systems where `ZEND_LONG_MAX == INT_MAX` anyway, and not useful on 64bit systems, where larger files should be readable, if the `memory_limit` is large enough. Closes GH-6648.
* | | | Document .dtor_obj and .free_objLevi Morrison2021-02-011-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | Closes GH-6656. Co-authored-by: Nikita Popov <nikic@php.net>
* | | | Fix environment variable not work in run-tests.phptwosee2021-02-011-2/+2
| | | | | | | | | | | | | | | | Closes GH-6657.
* | | | Fix ubsan warning on macosDavid CARLIER2021-02-011-1/+1
| | | | | | | | | | | | | | | | Closes GH-6652.
* | | | Merge branch 'PHP-8.0'Nikita Popov2021-02-011-0/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: XFAIL observer_error_05.phpt test
| * | | XFAIL observer_error_05.phpt testNikita Popov2021-02-011-0/+2
| | | |
* | | | Create .php and .sh on valgrind failureNikita Popov2021-02-011-17/+20
| | | |
* | | | Merge branch 'PHP-8.0'Nikita Popov2021-02-011-8/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Fix Laravel build on community job
| * | | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2021-02-011-8/+5
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.4: Fix Laravel build on community job
| | * | Fix Laravel build on community jobNikita Popov2021-02-011-4/+4
| | | | | | | | | | | | | | | | Now requires PHP 7.4, so use php7.4 to run composer everywhere.
* | | | Merge branch 'PHP-8.0'Nikita Popov2021-02-012-1/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | * PHP-8.0: Fix build crc32 mac build fix
| * | | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2021-02-011-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.4: Fix build
| | * | Fix buildNikita Popov2021-02-011-1/+1
| | | |
| * | | crc32 mac build fixDavid CARLIER2021-02-011-0/+1
| | | | | | | | | | | | | | | | Closes GH-6651.
* | | | Merge branch 'PHP-8.0'Stanislav Malyshev2021-02-014-14/+37
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Fix bug #80672 - Null Dereference in SoapClient
| * | | Merge branch 'PHP-7.4' into PHP-8.0Stanislav Malyshev2021-01-314-14/+37
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.4: Fix bug #80672 - Null Dereference in SoapClient
| | * | Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2021-01-314-14/+37
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-7.3: Fix bug #80672 - Null Dereference in SoapClient
| | | * Fix bug #80672 - Null Dereference in SoapClientStanislav Malyshev2021-01-315-14/+40
| | | |
* | | | Merge branch 'PHP-8.0'Christoph M. Becker2021-01-282-1/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Add missing stub for SodiumException
| * | | Add missing stub for SodiumExceptionChristoph M. Becker2021-01-282-1/+8
| | | | | | | | | | | | | | | | Closes GH-6649.
* | | | Merge branch 'PHP-8.0'Remi Collet2021-01-281-4/+6
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | * PHP-8.0: NEWS NEWS Fix #80682 opcache doesn't honour pcre.jit option
| * | | NEWSRemi Collet2021-01-281-0/+2
| | | |
| * | | Merge branch 'PHP-7.4' into PHP-8.0Remi Collet2021-01-281-4/+6
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | * PHP-7.4: NEWS Fix #80682 opcache doesn't honour pcre.jit option
| | * | NEWSRemi Collet2021-01-281-0/+3
| | | |
| | * | Fix #80682 opcache doesn't honour pcre.jit optionRemi Collet2021-01-281-4/+6
| | | |
* | | | Remove useless zend_update_class_constants() callsDmitry Stogov2021-01-281-10/+0
| | | |
* | | | Move optimizer into coreNikita Popov2021-01-2839-107/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This only moves the files, adjusts the build system, exports APIs and does minor fixups to make sure the code builds. This does not yet try to make the optimizer usable independently of opcache. Closes GH-6642.
* | | | Merge branch 'PHP-8.0'Nikita Popov2021-01-282-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Fix stub for Serializable::serialize()
| * | | Fix stub for Serializable::serialize()Michael Voříšek2021-01-282-2/+2
| | | | | | | | | | | | | | | | This method may also return null.
* | | | Merge branch 'PHP-8.0'Nikita Popov2021-01-283-2/+34
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Observe fake closures
| * | | Observe fake closuresSammy Kaye Powers2021-01-282-1/+33
| | | | | | | | | | | | | | | | Closes GH-6607.
* | | | Merge branch 'PHP-8.0'Stanislav Malyshev2021-01-271-16/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Rm unneeded function
| * | | Rm unneeded functionStanislav Malyshev2021-01-271-16/+0
| | | |
* | | | Merge branch 'PHP-8.0'Stanislav Malyshev2021-01-270-0/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Rm unneeded function
| * | | Merge branch 'PHP-7.4' into PHP-8.0Stanislav Malyshev2021-01-270-0/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.4: Rm unneeded function
| | * | Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2021-01-271-16/+0
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-7.3: Rm unneeded function
| | | * Rm unneeded functionStanislav Malyshev2021-01-271-16/+0
| | | |
* | | | Merge branch 'PHP-8.0'Stanislav Malyshev2021-01-268-29/+39
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Alternative fix for bug 77423
| * | | Merge branch 'PHP-7.4' into PHP-8.0Stanislav Malyshev2021-01-268-28/+38
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.4: Alternative fix for bug 77423
| | * | Merge branch 'PHP-7.3' into PHP-7.4Stanislav Malyshev2021-01-268-28/+38
| | |\ \ | | | |/ | | | | | | | | | | | | * PHP-7.3: Alternative fix for bug 77423
| | | * Alternative fix for bug 77423Christoph M. Becker2021-01-268-28/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That bug report originally was about `parse_url()` misbehaving, but the security aspect was actually only regarding `FILTER_VALIDATE_URL`. Since the changes to `parse_url_ex()` apparently affect userland code which is relying on the sloppy URL parsing[1], this alternative restores the old parsing behavior, but ensures that the userinfo is checked for correctness for `FILTER_VALIDATE_URL`. [1] <https://github.com/php/php-src/commit/5174de7cd33c3d4fa591c9c93859ff9989b07e8c#commitcomment-45967652>
* | | | Merge branch 'PHP-8.0'Dmitry Stogov2021-01-261-0/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Fixed observer API and JIT compatibility
| * | | Fixed observer API and JIT compatibilityDmitry Stogov2021-01-261-0/+8
| | | |
* | | | Merge branch 'PHP-8.0'Christoph M. Becker2021-01-262-0/+66
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Fix #70091: Phar does not mark UTF-8 filenames in ZIP archives
| * | | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-01-263-0/+67
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.4: Fix #70091: Phar does not mark UTF-8 filenames in ZIP archives
| | * | Fix #70091: Phar does not mark UTF-8 filenames in ZIP archivesChristoph M. Becker2021-01-263-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default encoding of filenames in a ZIP archive is IBM Code Page 437. Phar, however, only supports UTF-8 filenames. Therefore we have to mark filenames as being stored in UTF-8 by setting the general purpose bit 11 (the language encoding flag). The effect of not setting this bit for non ASCII filenames can be seen in popular tools like 7-Zip and UnZip, but not when extracting the archives via ext/phar (which is agnostic to the filename encoding), or via ext/zip (which guesses the encoding). Thus we add a somewhat brittle low-level test case. Closes GH-6630.
* | | | Merge branch 'PHP-8.0'Christoph M. Becker2021-01-260-0/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Update version
| * | | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-01-260-0/+0
| |\ \ \ | | |/ / | | | | | | | | | | | | * PHP-7.4: Update version
| | * | Update versionChristoph M. Becker2021-01-261-3/+3
| | | | | | | | | | | | | | | | That appears to have been forgotten for a while.
* | | | Merge branch 'PHP-8.0'Dmitry Stogov2021-01-263-11/+14
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-8.0: Allow observer handlers disabling optimization in RETURN opcode handler, that may cause loss value of returned local variable.