Nikita Popov
023039fbfc
Remove object auto-vivification leftovers in type-inference
...
undef/null/false no longer get promoted to object in PHP 8.
In fact, we may drop the SSA var defs outside RC inference mode now.
2020-03-17 14:54:11 +01:00
Christoph M. Becker
66d8d0c7d7
Drop support for iconv without proper errno setting
...
It is hard to impossible to work around iconv() implementations which
do not properly set errno according to POSIX. We therefore do no
longer allow to build against such iconv() implementations.
Co-Authored-By: Nikita Popov <nikita.ppv@googlemail.com >
2020-03-17 14:02:29 +01:00
Dmitry Stogov
4b89d96489
Improved JIT for ZEND_ASSIGN
2020-03-17 15:45:54 +03:00
Nikita Popov
b1a082da25
Fix typos
2020-03-17 12:59:37 +01:00
Remi Collet
d81182461a
Merge branch 'PHP-7.4'
...
* PHP-7.4:
bump verison to 7.2.30-dev
2020-03-17 11:29:20 +01:00
Remi Collet
9659a86fc3
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
bump verison to 7.2.30-dev
2020-03-17 11:29:03 +01:00
Remi Collet
b114e3d953
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
bump verison to 7.2.30-dev
2020-03-17 11:28:47 +01:00
Remi Collet
3072b77c21
bump verison to 7.2.30-dev
2020-03-17 11:28:34 +01:00
Christoph M. Becker
8e7df57e30
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix NEWS
2020-03-17 11:15:48 +01:00
Christoph M. Becker
1e63900cc0
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix NEWS
2020-03-17 11:12:57 +01:00
Christoph M. Becker
9b8aa105ed
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix NEWS
2020-03-17 11:09:55 +01:00
Christoph M. Becker
6a4fff4682
Fix NEWS
2020-03-17 11:06:45 +01:00
Christoph M. Becker
de0f9d0815
Merge branch 'PHP-7.4'
...
* PHP-7.4:
[ci skip] Update NEWS
Fix test
Fix bug #79329 - get_headers should not accept \0
Fixed bug #79282
2020-03-17 11:00:48 +01:00
Christoph M. Becker
4dce975e11
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
[ci skip] Update NEWS
Fix test
Fix bug #79329 - get_headers should not accept \0
Fixed bug #79282
2020-03-17 10:58:58 +01:00
Christoph M. Becker
3588b6bba6
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
[ci skip] Update NEWS
Fix test
Fix bug #79329 - get_headers should not accept \0
Fixed bug #79282
2020-03-17 10:56:47 +01:00
Christoph M. Becker
ea7cf2eb67
Merge branch 'PHP-7.4'
...
* PHP-7.4:
[ci skip] Update NEWS
Fix test
Fix bug #79329 - get_headers should not accept \0
Fixed bug #79282
Fix #79283 : Segfault in libmagic patch contains a buffer overflow
Fix #79371 : mb_strtolower (UTF-32LE): stack-buffer-overflow
[ci skip] Update NEWS
Fix test
Fix bug #79329 - get_headers should not accept \0
Fixed bug #79282
Fix #79371 : mb_strtolower (UTF-32LE): stack-buffer-overflow
2020-03-17 10:33:28 +01:00
Christoph M. Becker
a64f48cff8
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
[ci skip] Update NEWS
Fix test
Fix bug #79329 - get_headers should not accept \0
Fixed bug #79282
Fix #79371 : mb_strtolower (UTF-32LE): stack-buffer-overflow
2020-03-17 10:30:57 +01:00
Stanislav Malyshev
03bf4edbe8
Fix test
2020-03-16 22:42:15 -07:00
Stanislav Malyshev
2bc92a0cf7
Fix bug #79329 - get_headers should not accept \0
2020-03-16 22:42:15 -07:00
Stanislav Malyshev
9ed82b1f7b
Fixed bug #79282
2020-03-16 22:42:15 -07:00
Christoph M. Becker
7702b693b5
Fix #79283 : Segfault in libmagic patch contains a buffer overflow
...
To solve this, we properly calculate the required string length upfront
instead of allocating an oversized string (`len * 4 + 4`).
2020-03-16 22:42:15 -07:00
Christoph M. Becker
ebdaeb8572
Fix #79371 : mb_strtolower (UTF-32LE): stack-buffer-overflow
...
We make sure that negative values are properly compared.
2020-03-16 22:42:15 -07:00
Stanislav Malyshev
fc39bb9da9
[ci skip] Update NEWS
2020-03-16 22:40:48 -07:00
Stanislav Malyshev
1599f440a5
Fix test
2020-03-16 22:40:48 -07:00
Stanislav Malyshev
335547a04d
Fix bug #79329 - get_headers should not accept \0
2020-03-16 22:40:48 -07:00
Stanislav Malyshev
b9d32197cb
Fixed bug #79282
2020-03-16 22:40:48 -07:00
Christoph M. Becker
aa88f33f7d
Fix #79283 : Segfault in libmagic patch contains a buffer overflow
...
To solve this, we properly calculate the required string length upfront
instead of allocating an oversized string (`len * 4 + 4`).
2020-03-16 22:40:48 -07:00
Christoph M. Becker
db848e1482
Fix #79371 : mb_strtolower (UTF-32LE): stack-buffer-overflow
...
We make sure that negative values are properly compared.
2020-03-16 22:40:48 -07:00
Stanislav Malyshev
e71fa03107
[ci skip] Update NEWS
2020-03-16 22:40:00 -07:00
Stanislav Malyshev
62e7b80267
Fix test
2020-03-16 22:40:00 -07:00
Stanislav Malyshev
69fdc14152
Fix bug #79329 - get_headers should not accept \0
2020-03-16 22:40:00 -07:00
Stanislav Malyshev
25238bdf60
Fixed bug #79282
2020-03-16 22:40:00 -07:00
Christoph M. Becker
1fdffd1c55
Fix #79371 : mb_strtolower (UTF-32LE): stack-buffer-overflow
...
We make sure that negative values are properly compared.
2020-03-16 22:40:00 -07:00
Dmitry Stogov
902e19ddf3
Store informaton about class
2020-03-17 00:25:47 +03:00
Dmitry Stogov
7069b55ba4
Fixed recording classes of object references
2020-03-16 23:08:07 +03:00
Nikita Popov
4565a7f269
Fix assertion when (real) is used
...
And bring back a test for it...
2020-03-16 18:37:01 +01:00
Nikita Popov
6a0b59d085
Slightly deduplicate code
...
This code is the same in both branches, extract it.
2020-03-16 17:07:27 +01:00
Nikita Popov
eb7e1df228
Remove "safe" argument from ZVAL_PTR_DTOR
...
This is no longer used
2020-03-16 17:07:27 +01:00
Nikita Popov
cfd79841f4
Fix typos
2020-03-16 17:07:27 +01:00
Nikita Popov
3723985058
Merge EX variants of INFO macros
2020-03-16 13:02:16 +01:00
Nikita Popov
d35ce5d661
Merge EX variants of RANGE macros
...
Only need to create the ssa_op variable in range inference...
2020-03-16 12:36:03 +01:00
Nikita Popov
44b3971b85
Merge zend_may_throw(_ex)
...
Explicitly pass ssa_op in the places that don't do so yet.
2020-03-16 12:24:40 +01:00
Nikita Popov
5c65562ce4
Remove unnecessary cast
2020-03-16 12:24:40 +01:00
Máté Kocsis
c3554eb2c4
Fix ZPP of MultipleIterator::detachIterator() and MultipleIterator::containsIterator()
2020-03-16 12:05:40 +01:00
Máté Kocsis
04a44e1f08
Add stubs for SplObjectStorage and MultipleIterator
...
Closes GH-5267
2020-03-16 12:05:23 +01:00
Máté Kocsis
0ae8a3f3d6
Add stubs for SplHeap and SplPriorityQueue
...
Closes GH-5266
2020-03-16 12:04:56 +01:00
Philipp Tanlak
1668ad7cb1
Add str_contains() function
...
RFC: https://wiki.php.net/rfc/str_contains
Closes GH-5179.
2020-03-16 11:05:26 +01:00
Nikita Popov
934e60b594
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Don't specify ports in socket_export_stream-4.phpt
2020-03-16 10:32:39 +01:00
Nikita Popov
a57905dbac
Don't specify ports in socket_export_stream-4.phpt
...
Let the system pick a free port instead...
2020-03-16 10:32:04 +01:00
Stanislav Malyshev
c8d21d7728
[ci skip] Update NEWS
2020-03-15 19:38:31 -07:00