]>
granicus.if.org Git - php/log
Dmitry Stogov [Fri, 2 Oct 2020 08:01:35 +0000 (11:01 +0300)]
Fixed JIT for BINARY_OP with expected overflow
Dmitry Stogov [Fri, 2 Oct 2020 07:48:45 +0000 (10:48 +0300)]
Fixed possible incorrect register usage
Nikita Popov [Fri, 2 Oct 2020 07:39:15 +0000 (09:39 +0200)]
Add UPGRADING note for substr() behavior
[ci skip]
Matteo Beccati [Fri, 2 Oct 2020 07:34:32 +0000 (09:34 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
[ci skip] moved soap fix to 7.4.11
[ci skip] moved soap fix to 7.3.23
Matteo Beccati [Fri, 2 Oct 2020 07:33:50 +0000 (09:33 +0200)]
[ci skip] moved soap fix to 7.4.11
When committing I didn't notice that version had been just bumped
Matteo Beccati [Fri, 2 Oct 2020 07:33:20 +0000 (09:33 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
[ci skip] moved soap fix to 7.3.23
Matteo Beccati [Fri, 2 Oct 2020 07:32:52 +0000 (09:32 +0200)]
[ci skip] moved soap fix to 7.3.23
When committing I didn't notice that version had been just bumped
Máté Kocsis [Thu, 1 Oct 2020 08:09:27 +0000 (10:09 +0200)]
Review parameter names in ext/sysvshm
Closes GH-6249
Máté Kocsis [Thu, 1 Oct 2020 08:00:43 +0000 (10:00 +0200)]
Review parameter names in ext/sysvsem
Closes GH-6248
Máté Kocsis [Thu, 1 Oct 2020 07:53:57 +0000 (09:53 +0200)]
Review parameter names in ext/sysvmsg
Closes GH-6247
Dmitry Stogov [Thu, 1 Oct 2020 19:39:58 +0000 (22:39 +0300)]
Clenup BINARY_OP + SEND_VAL optimization
Nikita Popov [Thu, 1 Oct 2020 15:10:56 +0000 (17:10 +0200)]
Add test instantiating all objects
Intended to find issues in opaque object destructors.
Closes GH-6251.
Nikita Popov [Thu, 1 Oct 2020 15:05:23 +0000 (17:05 +0200)]
Fixed bug #80121
The issue affected both CurlHandle and CurlMultiHandle. I'll have
to double check this for other resource->object conversions as well.
Nikita Popov [Thu, 1 Oct 2020 14:41:51 +0000 (16:41 +0200)]
Fix out of bounds offset handling with empty needle
For strrpos with positive out of bounds offsets was not detected.
Christian Schneider [Wed, 30 Sep 2020 14:52:04 +0000 (16:52 +0200)]
Allow empty needle in grapheme_str*pos, grapheme_str*str
For consistency with str* and mb_str* functions.
Closes GH-6245.
Closes php/php-tasks#20.
Nikita Popov [Thu, 1 Oct 2020 14:18:23 +0000 (16:18 +0200)]
Support GC for AppendIterator
This also requires adding GC support for ArrayIterator internal
iterators.
Nikita Popov [Thu, 1 Oct 2020 14:12:56 +0000 (16:12 +0200)]
Fix bug #65387
Add GC support to dual_it. This is still missing AppendIterator
support.
Dik Takken [Thu, 24 Sep 2020 10:06:06 +0000 (12:06 +0200)]
Improve parameter names in ext/xmlwriter
Closes GH-6202.
Dmitry Stogov [Thu, 1 Oct 2020 10:19:40 +0000 (13:19 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Backport of a partial fix for bug Bug #76982 (memory leak declaring closure in included file).
Dmitry Stogov [Thu, 1 Oct 2020 10:19:27 +0000 (13:19 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Backport of a partial fix for bug Bug #76982 (memory leak declaring closure in included file).
Dmitry Stogov [Thu, 1 Oct 2020 10:18:21 +0000 (13:18 +0300)]
Backport of a partial fix for bug Bug #76982 (memory leak declaring closure in included file).
Côme Chilliet [Thu, 1 Oct 2020 08:11:43 +0000 (10:11 +0200)]
Remove deprecated functions from php-ldap
Remove ldap_control_paged_result and ldap_control_paged_result_response
which have been deprecated in PHP 7.4, in favor of new $controls
parameters for ldap request functions.
Máté Kocsis [Tue, 29 Sep 2020 20:38:27 +0000 (22:38 +0200)]
Review parameter names in ext/gettext
Closes GH-6241
Máté Kocsis [Tue, 29 Sep 2020 19:55:39 +0000 (21:55 +0200)]
Review parameter names in ext/shmop
Closes GH-6238
Máté Kocsis [Tue, 29 Sep 2020 20:21:06 +0000 (22:21 +0200)]
Review parameter names in ext/session
Closes GH-6239
Dmitry Stogov [Wed, 30 Sep 2020 09:21:15 +0000 (12:21 +0300)]
Give preference to ENTER->RECURSIVE_CALL trace over ENTER->RETURN
Máté Kocsis [Tue, 29 Sep 2020 20:32:23 +0000 (22:32 +0200)]
Review parameter names in ext/readline
Closes GH-6240
Máté Kocsis [Tue, 29 Sep 2020 19:41:37 +0000 (21:41 +0200)]
Review parameter names in ext/opcache
Closes GH-6237
Máté Kocsis [Tue, 29 Sep 2020 19:35:58 +0000 (21:35 +0200)]
Review parameter names in ext/json
Closes GH-6236
Dmitry Stogov [Wed, 30 Sep 2020 08:00:50 +0000 (11:00 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed hex char parsing
Dmitry Stogov [Wed, 30 Sep 2020 08:00:25 +0000 (11:00 +0300)]
Fixed hex char parsing
Remi Collet [Wed, 30 Sep 2020 05:42:58 +0000 (07:42 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remi Collet [Wed, 30 Sep 2020 05:42:28 +0000 (07:42 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
bump version to 7.2.35-dev
Remi Collet [Wed, 30 Sep 2020 05:42:14 +0000 (07:42 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
bump version to 7.2.35-dev
Remi Collet [Wed, 30 Sep 2020 05:38:16 +0000 (07:38 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
bump version to 7.2.35-dev
Remi Collet [Wed, 30 Sep 2020 05:37:59 +0000 (07:37 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
bump version to 7.2.35-dev
Dmitry Stogov [Wed, 30 Sep 2020 05:37:43 +0000 (08:37 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed incorrect error message
Remi Collet [Wed, 30 Sep 2020 05:37:41 +0000 (07:37 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
bump version to 7.2.35-dev
Dmitry Stogov [Wed, 30 Sep 2020 05:37:35 +0000 (08:37 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fixed incorrect error message
George Peter Banyard [Wed, 30 Sep 2020 05:37:16 +0000 (08:37 +0300)]
Fixed incorrect error message
Remi Collet [Wed, 30 Sep 2020 05:36:59 +0000 (07:36 +0200)]
bump version to 7.2.35-dev
Dmitry Stogov [Wed, 30 Sep 2020 05:29:37 +0000 (08:29 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed incorrect logical condition
Dmitry Stogov [Wed, 30 Sep 2020 05:29:21 +0000 (08:29 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fixed incorrect logical condition
George Peter Banyard [Wed, 30 Sep 2020 05:29:00 +0000 (08:29 +0300)]
Fixed incorrect logical condition
Dmitry Stogov [Wed, 30 Sep 2020 05:22:35 +0000 (08:22 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed incorrect logical conditions
George Peter Banyard [Wed, 30 Sep 2020 05:21:46 +0000 (08:21 +0300)]
Fixed incorrect logical conditions
George Peter Banyard [Wed, 30 Sep 2020 05:15:04 +0000 (08:15 +0300)]
Removed duplicate conditions
Christoph M. Becker [Tue, 29 Sep 2020 21:13:43 +0000 (23:13 +0200)]
Revert "Use external iterator instead of via the internal pointer"
This reverts commit
a6ecafece90909d74a578e09f626e875d3035eab .
Closes GH-6242.
Gabriel Caruso [Tue, 29 Sep 2020 22:43:11 +0000 (22:43 +0000)]
Update NEWS for 8.0.0rc2
Gabriel Caruso [Tue, 29 Sep 2020 22:32:14 +0000 (22:32 +0000)]
Update NEWS for PHP 8.0.0rc1
Gabriel Caruso [Tue, 29 Sep 2020 22:19:10 +0000 (00:19 +0200)]
Prepare for PHP 8.0 RC1
Stanislav Malyshev [Tue, 29 Sep 2020 17:14:40 +0000 (10:14 -0700)]
Merge branch 'PHP-7.4'
* PHP-7.4:
[ci skip] Add 7.4.11 security fixes to NEWS
[ci skip] Add 7.3.23 security fixes to NEWS
Stanislav Malyshev [Tue, 29 Sep 2020 17:13:38 +0000 (10:13 -0700)]
[ci skip] Add 7.4.11 security fixes to NEWS
Stanislav Malyshev [Tue, 29 Sep 2020 17:11:52 +0000 (10:11 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
[ci skip] Add 7.3.23 security fixes to NEWS
Stanislav Malyshev [Tue, 29 Sep 2020 17:09:33 +0000 (10:09 -0700)]
[ci skip] Add 7.3.23 security fixes to NEWS
Christoph M. Becker [Tue, 29 Sep 2020 16:44:23 +0000 (18:44 +0200)]
Fix recently introduced off-by-one error
Nikita Popov [Tue, 29 Sep 2020 14:29:15 +0000 (16:29 +0200)]
Update iconv parameter names
And rename charset to encoding, including inside error messages.
Closes GH-6234.
Dik Takken [Tue, 29 Sep 2020 14:00:32 +0000 (16:00 +0200)]
Warning promotion: Throw on writing invalid XML tag names
This change throws a ValueError when an invalid tag name is passed
to XMLWriter.
The rationale is that this indicates a programming error because
tag names typically originate from string literals or application
code generating them. This translates into either a typo or a flaw
in tag generation logic.
Closes GH-6233.
Nikita Popov [Fri, 25 Sep 2020 10:29:21 +0000 (12:29 +0200)]
Update ext/standard parameter names
Closes GH-6214.
Côme Chilliet [Tue, 29 Sep 2020 07:36:25 +0000 (09:36 +0200)]
Improve parameter names in ext/ldap
Merging PR 6153
MCMic [Mon, 28 Sep 2020 14:32:57 +0000 (16:32 +0200)]
Harmonize ldap_rename_ext with ldap_rename parameter names
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
Côme Chilliet [Mon, 28 Sep 2020 12:52:40 +0000 (14:52 +0200)]
Rename $link parameters to $ldap in ldap functions
Also fixed ldap_set_option places where $newvalue was still used
MCMic [Mon, 28 Sep 2020 12:20:48 +0000 (14:20 +0200)]
Improve parameter naming in ldap_rename
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
MCMic [Mon, 28 Sep 2020 12:20:28 +0000 (14:20 +0200)]
Improve parameter naming in ldap_exop_passwd
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
MCMic [Mon, 28 Sep 2020 12:19:43 +0000 (14:19 +0200)]
Improve parameter naming in ldap_connect
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
MCMic [Mon, 28 Sep 2020 12:18:43 +0000 (14:18 +0200)]
Improve parameter naming in ldap_set_option ext/ldap/ldap.stub.php
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
Côme Chilliet [Mon, 21 Sep 2020 12:50:15 +0000 (14:50 +0200)]
Explicitely mark nullable strings
MCMic [Thu, 17 Sep 2020 16:14:23 +0000 (18:14 +0200)]
Fix parameter mask in ldap_next_attribute
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
Côme Chilliet [Thu, 17 Sep 2020 15:13:48 +0000 (17:13 +0200)]
Fix parameter names in ext/ldap
Renamed all parameters to be consistent and concise
Côme Chilliet [Thu, 17 Sep 2020 15:03:23 +0000 (17:03 +0200)]
Fix "null" case in ldap.stub.php
Côme Chilliet [Thu, 17 Sep 2020 14:53:50 +0000 (16:53 +0200)]
Remove dummy_ber parameter from ldap_first_attribute and ldap_next_attribute
It has been unused and deprecated since PHP 5.2.4
Côme Chilliet [Thu, 17 Sep 2020 14:47:12 +0000 (16:47 +0200)]
Set all parameters to ldap_sasl_bind as NULL by default
For mech, realm, authcid, authzid and props NULL means do not change
current server setting.
Côme Chilliet [Thu, 17 Sep 2020 14:42:17 +0000 (16:42 +0200)]
Default bind dn and password to NULL in ldap_bind_ext
Côme Chilliet [Thu, 17 Sep 2020 14:40:04 +0000 (16:40 +0200)]
Default bind dn and password to NULL in ldap_bind
Côme Chilliet [Thu, 17 Sep 2020 14:03:43 +0000 (16:03 +0200)]
Make URI parameter in ldap_connect default to NULL
Remi Collet [Tue, 29 Sep 2020 14:17:23 +0000 (16:17 +0200)]
bump zip extension version
George Peter Banyard [Mon, 28 Sep 2020 17:31:02 +0000 (18:31 +0100)]
Promote E_NOTICE to Value/TypeError in PostgreSQL extension
Add some tests to cover related codepaths.
With the small caveat that the ones in build_assignment_string()
still don't seem to be tested as it looks the condtions are checked
beforehand, might need some more investigation.
Closes GH-6226
Nikita Popov [Tue, 29 Sep 2020 13:21:32 +0000 (15:21 +0200)]
Update ext/tokenizer param names
Closes GH-6232.
Dmitry Stogov [Tue, 29 Sep 2020 13:33:32 +0000 (16:33 +0300)]
Allow tracing JIT cooperate with function JIT.
Dik Takken [Fri, 25 Sep 2020 13:54:28 +0000 (15:54 +0200)]
Make handling of NULL bytes in file paths more consistent (WIP)
Not all extensions consistently throw exceptions when the user passes
a path name containing null bytes. Also, some extensions would throw
a ValueError while others would throw a TypeError. Error messages
also varied.
Now a ValueError is thrown after all failed path checks, at least for
as far as these occur in functions that are exposed to userland.
Closes GH-6216.
Nikita Popov [Tue, 29 Sep 2020 12:48:31 +0000 (14:48 +0200)]
Don't accept dir handle in Directory methods
This is an artifact of the shared implementation with readdir() etc.
The method versions should not accept an explicit dir handle, as
they work on the dir handle from the object.
Dmitry Stogov [Tue, 29 Sep 2020 12:07:45 +0000 (15:07 +0300)]
Tracing JIT support for preloaded scripts
Nikita Popov [Tue, 29 Sep 2020 10:35:39 +0000 (12:35 +0200)]
Remove unused variable
Nikita Popov [Thu, 24 Sep 2020 13:28:36 +0000 (15:28 +0200)]
Update gmp+bcmath parameter names
Closes GH-6205.
Christoph M. Becker [Tue, 29 Sep 2020 10:16:30 +0000 (12:16 +0200)]
Merge branch 'PHP-7.4' into master
* PHP-7.4:
[ci skip] Fix version
Christoph M. Becker [Tue, 29 Sep 2020 10:11:48 +0000 (12:11 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
[ci skip] Fix version
Christoph M. Becker [Tue, 29 Sep 2020 10:10:36 +0000 (12:10 +0200)]
[ci skip] Fix version
Dmitry Stogov [Tue, 29 Sep 2020 10:05:24 +0000 (13:05 +0300)]
Keep track information about used JIT trigger in ZEND_FUNC_INFO(op_array)->func_info.flags
Christoph M. Becker [Tue, 29 Sep 2020 09:41:17 +0000 (11:41 +0200)]
Use external iterator instead of via the internal pointer
Christoph M. Becker [Tue, 29 Sep 2020 09:36:54 +0000 (11:36 +0200)]
Merge branch 'PHP-7.4' into master
* PHP-7.4:
Fix #80152: odbc_execute() moves internal pointer of $params
Christoph M. Becker [Tue, 29 Sep 2020 09:35:28 +0000 (11:35 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #80152: odbc_execute() moves internal pointer of $params
Christoph M. Becker [Sat, 26 Sep 2020 11:14:40 +0000 (13:14 +0200)]
Fix #80152: odbc_execute() moves internal pointer of $params
As least intrusive fix, we separate the passed array argument.
Closes GH-6219.
Christoph M. Becker [Wed, 23 Sep 2020 21:52:27 +0000 (23:52 +0200)]
Fix #78792: zlib.output_compression disabled by Content-Type: image/
Disabling output compression for images has served to fix bug #16109,
where zlib compressed images apparently have caused issues with
Navigator 4. This shouldn't be an issue with somewhat contemporary
browsers. Other than that, this is an arbitrary restriction – why
don't we disable the compression for some other media types as well
(e.g. video/* and audio/*)? All in all, we should leave that decision
to userland.
Closes GH-6198.
Christoph M. Becker [Sun, 27 Sep 2020 21:11:56 +0000 (23:11 +0200)]
Fix #22986: odbc_connect() may reuse persistent connection
`odbc_connect()` should not reuse persistent connections, since that
prohibits multiple concurrent connections, which are occasionally
desireable. We fix that by no longer looking for already cached
connections when `odbc_connect()` is called, and instead creating a new
connection instead.
Closes GH-6223.
Dmitry Stogov [Tue, 29 Sep 2020 09:13:17 +0000 (12:13 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed unintended disabling of Optimizer for preloaded scripts introduced by
4a2646cf459
Dmitry Stogov [Tue, 29 Sep 2020 09:11:01 +0000 (12:11 +0300)]
Fixed unintended disabling of Optimizer for preloaded scripts introduced by
4a2646cf459
Christoph M. Becker [Tue, 29 Sep 2020 09:05:31 +0000 (11:05 +0200)]
Merge branch 'PHP-7.4' into master
* PHP-7.4:
Fix #80150: Failure to fetch error message
Máté Kocsis [Tue, 29 Sep 2020 07:19:45 +0000 (09:19 +0200)]
Make the $filter parameter of ReflectionClass::get*Constants() nullable
Máté Kocsis [Mon, 28 Sep 2020 21:02:42 +0000 (23:02 +0200)]
Reflection param renames amendment
Closes GH-6230
Christoph M. Becker [Tue, 29 Sep 2020 09:03:52 +0000 (11:03 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #80150: Failure to fetch error message