MCMic
a835eee2cf
Fix parameter mask in ldap_next_attribute
...
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com >
2020-09-29 16:31:07 +02:00
Côme Chilliet
c2a6da5ab2
Fix parameter names in ext/ldap
...
Renamed all parameters to be consistent and concise
2020-09-29 16:31:07 +02:00
Côme Chilliet
2a34d35a66
Fix "null" case in ldap.stub.php
2020-09-29 16:31:07 +02:00
Côme Chilliet
eeec37d31d
Remove dummy_ber parameter from ldap_first_attribute and ldap_next_attribute
...
It has been unused and deprecated since PHP 5.2.4
2020-09-29 16:31:07 +02:00
Côme Chilliet
caa0cd7705
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.
2020-09-29 16:31:07 +02:00
Côme Chilliet
74b634751b
Default bind dn and password to NULL in ldap_bind_ext
2020-09-29 16:31:07 +02:00
Côme Chilliet
14385fb203
Default bind dn and password to NULL in ldap_bind
2020-09-29 16:31:07 +02:00
Côme Chilliet
6b77252f18
Make URI parameter in ldap_connect default to NULL
2020-09-29 16:31:07 +02:00
Remi Collet
e39ce172f8
bump zip extension version
2020-09-29 16:17:23 +02:00
George Peter Banyard
053a5fc141
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
2020-09-29 15:13:01 +01:00
Nikita Popov
5dd5569b89
Update ext/tokenizer param names
...
Closes GH-6232.
2020-09-29 16:11:08 +02:00
Dmitry Stogov
b44cf93774
Allow tracing JIT cooperate with function JIT.
2020-09-29 16:33:32 +03:00
Dik Takken
f3c58a5ed6
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.
2020-09-29 14:55:10 +02:00
Nikita Popov
59aa21c735
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.
2020-09-29 14:50:40 +02:00
Dmitry Stogov
739eb435c2
Tracing JIT support for preloaded scripts
2020-09-29 15:07:45 +03:00
Nikita Popov
82f0d3c181
Remove unused variable
2020-09-29 12:35:39 +02:00
Nikita Popov
2519827732
Update gmp+bcmath parameter names
...
Closes GH-6205.
2020-09-29 12:34:16 +02:00
Christoph M. Becker
a88107d0ba
Merge branch 'PHP-7.4' into master
...
* PHP-7.4:
[ci skip] Fix version
2020-09-29 12:16:30 +02:00
Christoph M. Becker
2bceb4bedc
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
[ci skip] Fix version
2020-09-29 12:12:21 +02:00
Christoph M. Becker
b5cb999e7f
[ci skip] Fix version
2020-09-29 12:10:51 +02:00
Dmitry Stogov
dddb40313b
Keep track information about used JIT trigger in ZEND_FUNC_INFO(op_array)->func_info.flags
2020-09-29 13:05:24 +03:00
Christoph M. Becker
a6ecafece9
Use external iterator instead of via the internal pointer
2020-09-29 11:41:17 +02:00
Christoph M. Becker
a0051be42a
Merge branch 'PHP-7.4' into master
...
* PHP-7.4:
Fix #80152 : odbc_execute() moves internal pointer of $params
2020-09-29 11:36:54 +02:00
Christoph M. Becker
b87e43d931
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #80152 : odbc_execute() moves internal pointer of $params
2020-09-29 11:35:41 +02:00
Christoph M. Becker
bf5f07cc8b
Fix #80152 : odbc_execute() moves internal pointer of $params
...
As least intrusive fix, we separate the passed array argument.
Closes GH-6219.
2020-09-29 11:34:48 +02:00
Christoph M. Becker
47a166c837
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.
2020-09-29 11:30:06 +02:00
Christoph M. Becker
9f5a77188c
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.
2020-09-29 11:20:41 +02:00
Dmitry Stogov
8d9da8df28
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed unintended disabling of Optimizer for preloaded scripts introduced by 4a2646cf45
2020-09-29 12:13:17 +03:00
Dmitry Stogov
3928b6b435
Fixed unintended disabling of Optimizer for preloaded scripts introduced by 4a2646cf45
2020-09-29 12:11:01 +03:00
Christoph M. Becker
5f5eba1d7a
Merge branch 'PHP-7.4' into master
...
* PHP-7.4:
Fix #80150 : Failure to fetch error message
2020-09-29 11:05:31 +02:00
Máté Kocsis
351776eae5
Make the $filter parameter of ReflectionClass::get*Constants() nullable
2020-09-29 11:04:10 +02:00
Máté Kocsis
e19599287e
Reflection param renames amendment
...
Closes GH-6230
2020-09-29 11:04:10 +02:00
Christoph M. Becker
e08f69194c
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #80150 : Failure to fetch error message
2020-09-29 11:04:09 +02:00
Máté Kocsis
0ec6452024
Rename a few parameters in ext/filter
...
Closes GH-6229
2020-09-29 11:04:09 +02:00
Máté Kocsis
7aa2d3519b
Zend parameter renames amendment
...
Closes GH-6228
2020-09-29 11:04:09 +02:00
Christoph M. Becker
df5efa2fcd
Fix #80150 : Failure to fetch error message
...
In case of statement related errors, we need to pass the respective
statement handle to `SQLError()`.
Closes GH-6217.
2020-09-29 11:02:51 +02:00
Nikita Popov
de2d38d531
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix bug #80137
Fix bug #80138
2020-09-29 10:59:46 +02:00
Nikita Popov
1fafcd2b28
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix bug #80137
Fix bug #80138
2020-09-29 10:59:32 +02:00
Matthias Karbe
f5afd0a827
Fix bug #80137
...
Skip getprotobyname() and getprotobynumber() tests on *nix if there
is no /etc/protocols file.
Closes GH-6193.
2020-09-29 10:58:00 +02:00
Matthias Karbe
2899137391
Fix bug #80138
...
Skip getservbyname() and getservbyport() tests on *nix if there is
no /etc/services file.
Closes GH-6191.
2020-09-29 10:57:20 +02:00
Nikita Popov
45b0716733
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Synchronize php.ini-development and php.ini-production
2020-09-29 10:48:29 +02:00
Giovanni Giacobbi
205556c191
Synchronize php.ini-development and php.ini-production
...
Closes GH-6231.
2020-09-29 10:47:09 +02:00
zeriyoshi
060fde4377
Add call_user_func_array() backward incompatible change
...
Closes GH-6218.
[ci skip]
2020-09-29 10:44:57 +02:00
Remi Collet
e1e25532b6
Merge branch 'PHP-7.4'
...
* PHP-7.4:
[ci skip] typo
Do not decode cookie names anymore
Fix bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV)
2020-09-29 08:52:09 +02:00
Remi Collet
e5b045e6b6
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
[ci skip] typo
Do not decode cookie names anymore
Fix bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV)
2020-09-29 08:51:03 +02:00
Remi Collet
035ad0aed5
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
[ci skip] typo
Update NEWS & UPGRADING
Do not decode cookie names anymore
Fix bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV)
2020-09-29 08:50:14 +02:00
Remi Collet
af500b8685
[ci skip] typo
2020-09-29 08:49:56 +02:00
Stanislav Malyshev
e14f835d8c
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Update UPGRADING
Update UPGRADING
Update NEWS & UPGRADING
Do not decode cookie names anymore
Fix bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV)
2020-09-28 22:55:37 -07:00
Stanislav Malyshev
c4dc080245
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Update UPGRADING
Update NEWS & UPGRADING
Do not decode cookie names anymore
Fix bug #79601 (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV)
2020-09-28 22:54:57 -07:00
Stanislav Malyshev
95e1a415a5
Do not decode cookie names anymore
2020-09-28 21:43:11 -07:00