Máté Kocsis
2b4fee03af
Mark ext/mysqli properties as readonly for documentation purposes
2022-04-05 13:24:21 +02:00
Christoph M. Becker
60fdca5419
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Bump version
2022-04-05 13:20:19 +02:00
Christoph M. Becker
43f3745abb
Bump version
...
Apparently, this has been forgotten when PHP 8.0.17RC1 and 8.0.18RC1
had been tagged.
We also fix the version of the fix for GH-8253, which didn't make it
into PHP 8.0.18RC1.
2022-04-05 13:19:02 +02:00
Dmitry Stogov
4f18dbeb97
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
JIT: Fix array clobbering by user error handler
2022-04-04 16:37:17 +03:00
Dmitry Stogov
c489e360a6
JIT: Fix array clobbering by user error handler
...
Fixes oss-fuzz #46336
2022-04-04 16:36:25 +03:00
Dmitry Stogov
e721a42211
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fixed reference counting inference
2022-04-04 15:34:46 +03:00
Dmitry Stogov
c0bb238483
Fixed reference counting inference
...
Fixes oss-fuzz #46084
2022-04-04 15:34:02 +03:00
Bob Weinand
e0025562d0
Merge branch 'PHP-8.0' into PHP-8.1
2022-04-04 14:25:23 +02:00
Bob Weinand
9cb512ecc1
Ensure correct target opline for exceptions thrown during yield from
...
Also appends the exception during a yield from values dtor instead of prepending it
Fixing regression introduced in 13649451c2 .
2022-04-04 14:24:39 +02:00
Dmitry Stogov
33704be5f2
Trcing JIT: remove unchecked type guards om ROPE_* instructions
...
Fixes oss-fuzz #46209
2022-04-04 15:06:35 +03:00
Dmitry Stogov
24bb178310
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
JIT: Fixed incorrect code generation
2022-04-04 14:24:10 +03:00
Dmitry Stogov
0d44bbd212
JIT: Fixed incorrect code generation
...
Fixes oss-fuzz #46328
2022-04-04 14:20:45 +03:00
Dmitry Stogov
14fddd17df
Fix arsort() crash on recursion
...
Fixes oss-fuzz #46315
2022-04-04 12:03:39 +03:00
Bob Weinand
e4c7ffc152
Fix deprecated warning in new gh8289.phpt test
2022-04-01 17:51:18 +02:00
Bob Weinand
16dcededa8
Merge branch 'PHP-8.0' into PHP-8.1
2022-04-01 17:38:10 +02:00
Bob Weinand
13649451c2
Fix GH-8289: Exceptions thrown within a yielded from iterator are not rethrown into the generator
...
This also fixes the fact that exception traces were not including the generator frame when thrown in a yielded from iterator.
2022-04-01 17:32:48 +02:00
Derick Rethans
e6c4988187
Fixed #7752 , #8101 , #81660 : DateTimeZone::getTransitions() returns insufficient data
2022-04-01 13:28:05 +01:00
Ilija Tovilo
7d6a3af7db
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Re-enable i386 tests on Azure Pipelines
2022-04-01 13:37:07 +02:00
Ilija Tovilo
d82d62c237
Re-enable i386 tests on Azure Pipelines
2022-04-01 12:55:31 +02:00
Patrick Allaert
5a899563cc
Bump for 8.1.6-dev
2022-03-31 17:37:41 +02:00
Ilija Tovilo
2145f80d4b
Register JSON_ERROR_NON_BACKED_ENUM constant ( #8285 )
...
Fixes GH-8238
2022-03-31 14:31:17 +02:00
Kamil Tekiela
ced5581eca
Fix mnd_malloc -> mnd_emalloc from previous merge
2022-03-31 10:53:58 +01:00
Kamil Tekiela
40b20d8215
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix regression from #8058
2022-03-31 10:32:59 +01:00
Kamil Tekiela
06e383b2f4
Fix regression from #8058
...
Closes GH-8181
2022-03-31 10:31:52 +01:00
Christoph M. Becker
7e8dcda42c
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix GH-8253: pg_insert() fails for references
2022-03-29 10:53:56 +02:00
Christoph M. Becker
0e6d6f83cc
Fix GH-8253: pg_insert() fails for references
...
We need to deref the values.
Closes GH-8262.
2022-03-29 10:51:19 +02:00
Remi Collet
43dd512eb6
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
typo
2022-03-29 10:20:34 +02:00
Remi Collet
fe4aba6588
typo
2022-03-29 10:20:21 +02:00
Remi Collet
85533e741a
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
run-tests.php: fix TypeError: Unsupported operand types: string * int <n> is mandatory for --show-slow and --set-timeout use <n> in help message instead of confusing [n]
2022-03-29 09:55:04 +02:00
Remi Collet
23cce68d24
run-tests.php: fix TypeError: Unsupported operand types: string * int <n> is mandatory for --show-slow and --set-timeout use <n> in help message instead of confusing [n]
2022-03-29 09:54:40 +02:00
Stanislav Malyshev
187a0e4707
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Don't try to access memory outside string
2022-03-28 10:54:05 -06:00
Stanislav Malyshev
2119ba215a
Don't try to access memory outside string
2022-03-28 10:52:34 -06:00
Christoph M. Becker
5f20f9f72d
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix result_type related stack corruption on LLP64 architectures
2022-03-28 18:29:38 +02:00
Christoph M. Becker
5a8622fe78
Fix result_type related stack corruption on LLP64 architectures
...
Integer parameters are stored in `zend_long` values, which have 64 bits
on LLP64, but `long` has only 32 bits there.
Adding a test might be overkill, because the broken behavior could
already be observed when running pg_select_001.phpt on Windows debug
builds, which report the stack corruption.
Closes GH-8263.
2022-03-28 18:27:44 +02:00
Christoph M. Becker
1c3374c785
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix signedness confusion in php_filter_validate_domain()
2022-03-28 14:02:32 +02:00
Christoph M. Becker
771dbdb319
Fix signedness confusion in php_filter_validate_domain()
...
As is, there is the possibility that integer underflow occurs, making
`_php_filter_validate_domain()` succeed for very long domain names.
Cf. <https://pwning.systems/posts/php_filter_var_shenanigans/ >.
2022-03-28 14:00:22 +02:00
Dmitry Stogov
7aac1c11ee
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
JIT: Fixed memory leak
2022-03-25 16:55:37 +03:00
Dmitry Stogov
aa352c2c54
JIT: Fixed memory leak
...
Fixes oss-fuzz #45981
2022-03-25 16:54:50 +03:00
Ilija Tovilo
e706d024b2
Fix IntlPartsIterator key off-by-one error
...
Closes GH-7734
Closes GH-8172
2022-03-25 13:10:55 +01:00
Dmitry Stogov
62a1c068fe
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
JIT: Fix register clobbering
2022-03-21 16:13:04 +03:00
Dmitry Stogov
cf83bdd925
JIT: Fix register clobbering
...
Fixes oss-fuzz #45590
2022-03-21 16:08:52 +03:00
Dmitry Stogov
21b0da8cdf
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
JIT: Fix missing type store
2022-03-21 14:07:34 +03:00
Dmitry Stogov
e9fc81a2f8
JIT: Fix missing type store
...
Fixes oss-fuzz #45604
2022-03-21 13:34:46 +03:00
Dmitry Stogov
2198493f12
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
JIT: Fix memory leak
2022-03-21 12:51:10 +03:00
Dmitry Stogov
7051dc3372
JIT: Fix memory leak
...
Fixes oss-fuzz #45658
2022-03-21 12:50:30 +03:00
Dmitry Stogov
83ab9cf871
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
JIT: Fix missing exception handling
2022-03-18 18:56:02 +03:00
Dmitry Stogov
3d6a7e2bd5
JIT: Fix missing exception handling
...
Fixes oss-fuzz #45649
2022-03-18 18:54:47 +03:00
Christoph M. Becker
5003831260
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix GH-8208: mb_encode_mimeheader: $indent functionality broken
2022-03-17 17:34:31 +01:00
Christoph M. Becker
d0417ebc93
Fix GH-8208: mb_encode_mimeheader: $indent functionality broken
...
We also need to factor in the indent, when getting the encoder result.
Closes GH-8213.
2022-03-17 17:31:58 +01:00
Christoph M. Becker
b92ae85b25
Fix typo (--EXTENSION-- → --EXTENSIONS--)
2022-03-14 15:14:27 +01:00