Nikita Popov
ec484a0788
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix bug #80126
2020-10-06 16:34:02 +02:00
Nikita Popov
3b7c8bb973
Fix bug #80126
...
When performing an unlinked instanceof, we also need to consider
interfaces of parent classes, as they may not have been inherited
yet.
2020-10-06 16:33:14 +02:00
Dmitry Stogov
c80662a927
Eliminate check
2020-10-06 15:50:37 +03:00
Nikita Popov
fe0763c81f
Make $use_less_memory a boolean parameter
2020-10-06 14:16:39 +02:00
Nikita Popov
15896d08ae
Update ext/bz2 parameter names
...
Closes GH-6280.
2020-10-06 14:16:33 +02:00
Nikita Popov
7a1dc180a6
Update ext/pcntl parameter names
...
Closes GH-6278.
2020-10-06 12:45:57 +02:00
Dmitry Stogov
84e0ea6b43
Optimize out double memory load
2020-10-06 13:32:55 +03:00
Nikita Popov
79484b4f8a
Update ext/sockets parameter names
...
Also change $max_length to $length in a number of filesystem APIs,
where our usage was inconsistent.
Closes GH-6276.
2020-10-06 12:12:43 +02:00
Nikita Popov
f21b160984
Update ext/calendar parameter names
...
Closes GH-6277.
2020-10-06 11:26:05 +02:00
Nikita Popov
dee802498e
Fixed bug #80190
2020-10-06 10:20:27 +02:00
Nikita Popov
d9dce839f7
Update ext/posix parameter names
...
Closes GH-6275.
2020-10-06 09:49:40 +02:00
Dik Takken
a7856c1bae
Review parameter names in ext/xmlreader
...
Closes GH-6255.
2020-10-06 09:47:13 +02:00
Christoph M. Becker
3eae7aa77e
Don't separate array parameter
...
Closes GH-6243.
2020-10-05 23:11:36 +02:00
Sammy Kaye Powers
a9e96a378d
Expose php_during_module_startup() and php_during_module_shutdown()
...
This can be handy when trying to determine if it is safe to access request globals amongst other things.
Closes GH-6265
2020-10-05 14:01:43 -07:00
Dmitry Stogov
31f54586b5
Use range inference to eliminate useless comparisons
2020-10-05 22:33:45 +03:00
Dmitry Stogov
90b80c8278
Fix trace range inference
2020-10-05 22:33:18 +03:00
Christoph M. Becker
9fe5479eeb
Merge branch 'PHP-7.4' into master
...
* PHP-7.4:
Fix #46050 : odbc_next_result corrupts prepared resource
2020-10-05 17:48:44 +02:00
Christoph M. Becker
c6e7969f05
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #46050 : odbc_next_result corrupts prepared resource
2020-10-05 17:47:35 +02:00
Christoph M. Becker
69ba81d183
Fix #46050 : odbc_next_result corrupts prepared resource
...
When resetting the result's values, we also have to reset its numcols.
2020-10-05 17:46:37 +02:00
Nikita Popov
47ef51cb45
Add @generate-legacy-arginfo tag
2020-10-05 16:33:54 +02:00
Nikita Popov
0f3698173e
Update PDO parameter names
...
Followup to previous changes:
* Use camel case, as PDO uses a camel case OO API.
* Use &$var instead of &$bind_var or &$param.
* Use $column instead of $index. We have cases (both inside PDO
and in other DB exts) where columns can also be represented as
strings, so $column is the safer generic name.
Closes GH-6272.
2020-10-05 15:51:36 +02:00
Remi Collet
dba6715598
Improve gen_stub.php - drop --legacy option, generate file is exists - add --help option - add debug "Saved ..." message
2020-10-05 15:41:08 +02:00
Nikita Popov
6ea870f5fb
Fix bug #80184
2020-10-05 15:24:51 +02:00
Máté Kocsis
4982964224
Review parameter names in ext/pspell
...
Closes GH-6257
2020-10-05 15:22:15 +02:00
Máté Kocsis
e9c707298b
Review parameter names in ext/zlib
...
Closes GH-6250
2020-10-05 15:20:27 +02:00
Nikita Popov
faea5ab837
Throw from XmlReader::expand() if DOM extension missing
...
Otherwise it is hard to uphold the arginfo contract for this
function -- we cannot simply mirror the zpp call, as the class
entry it is based on does not exist.
2020-10-05 12:31:48 +02:00
Nikita Popov
d3cf597328
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix -Wimplicit-function-declaration in configure
2020-10-05 10:48:04 +02:00
Nikita Popov
9ad5381a2f
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix -Wimplicit-function-declaration in configure
2020-10-05 10:46:46 +02:00
Nikita Popov
aa405b7da2
Fix -Wimplicit-function-declaration in configure
...
As this is an error with xcode 12, see bug #80171 .
2020-10-05 10:43:58 +02:00
Remi Collet
107962208a
add note about is_callable change
2020-10-03 07:27:08 +02:00
Christoph M. Becker
54435c9b43
Fix #64060 : lstat_stat_variation7.phpt fails on certain file systems
...
Closes GH-6194.
2020-10-02 18:54:10 +02:00
Nikita Popov
2d234d111a
Declare FFI\CType in namespace
...
Now that it is supported, declare that CType is part of the FFI
namespace, not a freestanding class.
2020-10-02 17:54:34 +02:00
George Peter Banyard
e0b17ba219
Use a subrountine to check for valid OID strings
...
Closes 6260
2020-10-02 16:32:06 +01:00
Nikita Popov
dfa6d1c22e
Support specifying linkage for generate-function-entries
...
The linkage can be specified as the argument to the
@generate-function-entries tag. Test this on zend_test.
2020-10-02 17:21:16 +02:00
Nikita Popov
924ac2b98a
Add partial namespace support to gen_stub
2020-10-02 17:08:50 +02:00
Nikita Popov
2e32a09541
Add gen_stub --legacy flag
...
This flag generates an arginfo file that discards all type and
default value information. As such, it is compatible with old
(and very old) PHP versions.
Intended for use by extensions to generate one arginfo file for
PHP 8 and one for older versions.
2020-10-02 15:14:02 +02:00
Christoph M. Becker
c137f4b6e4
Merge branch 'PHP-7.4' into master
...
* PHP-7.4:
Fix out-of-bounds write
2020-10-02 15:10:19 +02:00
Christoph M. Becker
c00816a38f
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix out-of-bounds write
2020-10-02 15:04:38 +02:00
K.Kosako
bf6873a18e
Fix out-of-bounds write
...
Fixes CVE-2020-26159.
Backported from <cbe9f8bd9c >.
2020-10-02 15:02:35 +02:00
Máté Kocsis
c9c7820f74
Review parameter names in ext/ftp
...
Closes GH-6254
2020-10-02 14:26:39 +02:00
Nikita Popov
ae77c7b057
Return correct result code for division by zero
...
Turns out we do need to return FAILURE here on div by zero
exception. Use a three-way return value from div_function_base.
Fixes oss-fuzz #25975 .
2020-10-02 12:09:14 +02:00
Máté Kocsis
4f42519571
Review parameter names in ext/exif
...
Closes GH-6256
2020-10-02 11:56:16 +02:00
Máté Kocsis
811f6dd8e5
Review parameter names in ext/enchant
...
Closes GH-6258
2020-10-02 11:55:46 +02:00
Máté Kocsis
6b00196e04
Review parameter names in ext/pcre
...
Closes GH-6259
2020-10-02 11:55:23 +02:00
Dmitry Stogov
109fb3e57d
Copy optimization for (BINARY_OP/ACCIGN + SEND_VAL)
2020-10-02 12:06:02 +03:00
Dmitry Stogov
b0e77066bd
Fixed JIT for BINARY_OP with expected overflow
2020-10-02 11:01:35 +03:00
Dmitry Stogov
fbf153a210
Fixed possible incorrect register usage
2020-10-02 10:48:45 +03:00
Nikita Popov
d7243ce291
Add UPGRADING note for substr() behavior
...
[ci skip]
2020-10-02 09:41:05 +02:00
Matteo Beccati
902f63486e
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
2020-10-02 09:34:32 +02:00
Matteo Beccati
7c48479f62
[ci skip] moved soap fix to 7.4.11
...
When committing I didn't notice that version had been just bumped
2020-10-02 09:33:50 +02:00