George Peter Banyard
8d0b871bde
Removed duplicate conditions
2020-09-30 08:15:04 +03:00
Christoph M. Becker
07fa13088e
Revert "Use external iterator instead of via the internal pointer"
...
This reverts commit a6ecafece9 .
Closes GH-6242.
2020-09-30 01:23:16 +02:00
Gabriel Caruso
c907413567
Update NEWS for 8.0.0rc2
2020-09-29 22:43:11 +00:00
Gabriel Caruso
6d2fe9f17f
Update NEWS for PHP 8.0.0rc1
2020-09-29 22:32:14 +00:00
Gabriel Caruso
0574c21b50
Prepare for PHP 8.0 RC1
2020-09-30 00:19:10 +02:00
Stanislav Malyshev
6795cfd98a
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
2020-09-29 10:14:40 -07:00
Stanislav Malyshev
f20a2b4f3c
[ci skip] Add 7.4.11 security fixes to NEWS
2020-09-29 10:13:38 -07:00
Stanislav Malyshev
5c8b02fdd6
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
[ci skip] Add 7.3.23 security fixes to NEWS
2020-09-29 10:11:52 -07:00
Stanislav Malyshev
ae95d06f68
[ci skip] Add 7.3.23 security fixes to NEWS
2020-09-29 10:09:33 -07:00
Christoph M. Becker
a1ee3c74d1
Fix recently introduced off-by-one error
2020-09-29 18:46:07 +02:00
Nikita Popov
a4331a67f4
Update iconv parameter names
...
And rename charset to encoding, including inside error messages.
Closes GH-6234.
2020-09-29 18:11:07 +02:00
Dik Takken
6dac6a996e
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.
2020-09-29 16:52:47 +02:00
Nikita Popov
25f1c405ff
Update ext/standard parameter names
...
Closes GH-6214.
2020-09-29 16:49:46 +02:00
Côme Chilliet
1945355435
Improve parameter names in ext/ldap
...
Merging PR 6153
2020-09-29 16:31:08 +02:00
MCMic
3b3445f783
Harmonize ldap_rename_ext with ldap_rename parameter names
...
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com >
2020-09-29 16:31:08 +02:00
Côme Chilliet
1d3787ee94
Rename $link parameters to $ldap in ldap functions
...
Also fixed ldap_set_option places where $newvalue was still used
2020-09-29 16:31:08 +02:00
MCMic
29e1a9717d
Improve parameter naming in ldap_rename
...
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com >
2020-09-29 16:31:08 +02:00
MCMic
462c94447e
Improve parameter naming in ldap_exop_passwd
...
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com >
2020-09-29 16:31:08 +02:00
MCMic
27fe37e394
Improve parameter naming in ldap_connect
...
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com >
2020-09-29 16:31:08 +02:00
MCMic
febd33cf7e
Improve parameter naming in ldap_set_option ext/ldap/ldap.stub.php
...
Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com >
2020-09-29 16:31:07 +02:00
Côme Chilliet
fa1f86f11c
Explicitely mark nullable strings
2020-09-29 16:31:07 +02:00
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