Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/php/php-src

The PHP Interpreter
https://github.com/php/php-src

Update IR

IR commit: 553af9c2263c873ac1d01aa49925a4713122e8b4

cc5a39458c52b8f1fc512ec331d84a13c543bd75 authored 11 months ago by Dmitry Stogov <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
ext/curl: Fix failing tests due to string changes in libcurl 8.6.0

2b629f0e0bdd11a977c4f57c2881367e15cbde3e authored 11 months ago by Niels Dossche <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
ext/curl: Fix failing tests due to string changes in libcurl 8.6.0

7e3a6a1b429a0f6dbb382c89ef1ae0589178869d authored 11 months ago by Niels Dossche <[email protected]>
ext/curl: Fix failing tests due to string changes in libcurl 8.6.0

Upstream libcurl 8.6.0 contains a change[^1] that caused a test failure.
This fixes it by updati...

404803577db5e53209a5ae881c39c9092b7deacb authored 11 months ago by Ayesh Karunaratne <[email protected]>
Update IR

IR commit: 682cc0ca6761164dbcd791e5f56283f8e88537d2

Fixes GH-13286

c50255c6260902470b40315e1c4310fc1c47fe43 authored 11 months ago by Dmitry Stogov <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Fix instable array during in-place modification in uksort

a135517376de03b5c716284751bff6f05d8e693c authored 11 months ago by Ilija Tovilo <[email protected]>
Fix instable array during in-place modification in uksort

The array isn't just observable if the array has RCn, but also if it is inside a
reference that ...

d65c39504976bd8586d3a2e94b21077d199cd852 authored 11 months ago by Ilija Tovilo <[email protected]>
ext/curl: Bump minimum Curl version to >= 7.61.0 (#13259)

Bumps the minimum required libcurl version to 7.61.0.

Please also see #4917, which bumped min...

edb9f65f16bb15d55473c2eb8535e9e461fcd817 authored 11 months ago by Ayesh Karunaratne <[email protected]>
ext/curl: Update `sync_constants.php` const matching to uncover more constants (#13282)

The `sync_constants.php` file uncovers constants present in libcurl source, but\
not present in...

e30c11f5998aa4ea233f4c5126aa250b48dcff1e authored 11 months ago by Ayesh Karunaratne <[email protected]>
Merge branch 'PHP-8.3'

01e39c0ea997829de11b69cd861348cf8a7daa5f authored 11 months ago by Jakub Zelenka <[email protected]>
Update PHP 8.3 minor version

1a349ab2096760f838d0b7188229ceaf21538fc9 authored 11 months ago by Peter Kokot <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Use EXTENSIONS instead of SKIPIF sections in *.phpt

085da2725f63fbe871b94706fe5b5574d17ec9a2 authored 11 months ago by Peter Kokot <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Use EXTENSIONS instead of SKIPIF sections in *.phpt

8d5fc8d23f8da3aea37cf8a9e2ffc283ce8404a1 authored 11 months ago by Peter Kokot <[email protected]>
Use EXTENSIONS instead of SKIPIF sections in *.phpt

This also fixes skipped tests due to different naming "zend-test"
instead of "zend_test" and "PD...

218a93b898b4ecd182d1ab1c1f9d8d35bb2f1799 authored 11 months ago by Peter Kokot <[email protected]>
random: Call int-seeding functions directly

As the `__construct()` implementation is engine-specific anyway, we know what
engine were dealin...

f39357b07bd34fd03a673180e7eb07ec52261b2e authored 11 months ago by Tim Düsterhus <[email protected]>
random: Narrow the parameter types of seed128/seed256

These internal-only functions accepted a `php_random_status`, just to extract
the internal state...

79f648ace2fd8071937a4afbfef417c9ec004782 authored 11 months ago by Tim Düsterhus <[email protected]>
random: Add explicitly named seed64() helper for xoshiro256**

304c9c3db19e322a61266da1ca66397677b93b41 authored 11 months ago by Tim Düsterhus <[email protected]>
ext/sockets: enabling multicast group for ipv4 on freebsd. (#13240)

bug#75721 patch from [email protected].

MCAST_JOIN_GROUP/MCAST_LEAVE_GROUP socket option...

453f5ab053a98de42a8139d7d666e61252ed3c56 authored 11 months ago by David CARLIER <[email protected]>
Merge branch 'PHP-8.3'

4a08f41bb693600a82fdf53b257cf1df6757c6f5 authored 11 months ago by Eric Mann <[email protected]>
PHP-8.3 is now for PHP-8.3.4-dev

5094a636ae8ef1032b43a3f081fb2fa75ca3100e authored 11 months ago by Eric Mann <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
PHP-8.2 is now for PHP 8.2.17-dev

4567556176b569d728dbed623ffa97106c64b60d authored 11 months ago by Pierrick Charron <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
PHP-8.2 is now for PHP 8.2.17-dev

5982cb7a45868ca07978eb3f09b7a978500ec60d authored 11 months ago by Pierrick Charron <[email protected]>
PHP-8.2 is now for PHP 8.2.17-dev

0454f4ade4ad41b86bbcc2c744512341f3f03560 authored 11 months ago by Pierrick Charron <[email protected]>
Merge branch 'PHP-8.3'

b6122697206e8f6a5cd384da3b6fa742ac2de63c authored 11 months ago by Derick Rethans <[email protected]>
Move most of this to https://github.com/php/policies as per Policies RFC

7c354b7cf2360828bff3566cea350ce1dc07aac2 authored 11 months ago by Derick Rethans <[email protected]>
Improve ZEND_NEW RC inference

ZEND_NEW returns RC1 if the instanciated class has no constructor.

Closes GH-13239

b06311cb3d927d2f7660e39ce14acde92526998c authored 11 months ago by Ilija Tovilo <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Fix create_object checks

8d082958fe7c7adba6bc890a018272811e417b7a authored 11 months ago by Ilija Tovilo <[email protected]>
Fix create_object checks

Since PHP 8.3, object handlers may be changed by setting
ce->default_object_handlers, rather tha...

3a5edcca4702dd1aa8e3141aaaa6764a43087fb5 authored 11 months ago by Ilija Tovilo <[email protected]>
Remove unused Makefile variables FIBER_ASSEMBLER and FIBER_ASM_ARCH

In Windows build system these were replaced with common PHP_ASSEMBLER
and FIBER_ASM_ABI when adj...

b3bdc23656116f6f281385c05ead1a5d0b9aea6e authored 11 months ago by Peter Kokot <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Fix GH-13193: Significant performance degradation in 'foreach' starting from PHP 8....

373237edb2c0584d1bdf7e5dc05e9fb3d5443e40 authored 11 months ago by Dmitry Stogov <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-13193: Significant performance degradation in 'foreach' starting from PHP 8....

49f85c24da61862f73d9875049077989affe6150 authored 11 months ago by Dmitry Stogov <[email protected]>
Fix GH-13193: Significant performance degradation in 'foreach' starting from PHP 8.2.13 (caused by garbage collection) (#13265)

* Fix GH-13193: Significant performance degradation in 'foreach' starting from PHP 8.2.13 (cause...

397d4c244d9e5219ac5c8826c02ecd1a370ba89c authored 11 months ago by Dmitry Stogov <[email protected]>
Improve is_instanceof inference (#13238)

When a class is final, it may be treated as !is_instanceof.

34e2dc5697283dfa01c5f85cceafb99bb372ac7c authored 11 months ago by Ilija Tovilo <[email protected]>
Sync headers installation

This syncs the installed sapi and extension headers on *nix and Windows
systems by installing on...

52dba99d47563f38d8ed5f84690a3cb2c1785475 authored 11 months ago by Peter Kokot <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Retroactively add NEWS entry for ec348a12

c1c106e5a239fa486a42b73286f6356961911034 authored 11 months ago by Alex Dowad <[email protected]>
Retroactively add NEWS entry for ec348a12

Thanks to Kalle Sommer Nielsen for suggesting that the change in
ec348a12 should have been calle...

d978ade0a975fa7d801151f5a8444e9f95538efa authored 11 months ago by Alex Dowad <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Fix GH-10614: imagerotate will turn the picture all black, when rotated 90

b06fedb41d560f756dfb5d964b0d36a224e44dc7 authored 11 months ago by Niels Dossche <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-10614: imagerotate will turn the picture all black, when rotated 90

b76ef301a02144de92e8ee1a7d2233da565e16df authored 11 months ago by Niels Dossche <[email protected]>
Fix GH-10614: imagerotate will turn the picture all black, when rotated 90

This is a backport of the upstream libgd PR that was recently committed
[1].

[1] https://github...

f26dd1354b9ceafd4aeaa3318112000e463f7f85 authored 11 months ago by Niels Dossche <[email protected]>
Update IR

IR commit: 2ea3215ebd15a1fa332b8b6118df2bc51a60d81c

Fixes two recently introduced bugs caught b...

765382eeeaffee74e0f0f677ccf5b3504abe337a authored 11 months ago by Dmitry Stogov <[email protected]>
Update IR

IR commit: 87bf12844ea0e36151b3a172dce28b55b5ae1503

Fixes ext/opcache/tests/jit/bug81225_2.phpt...

90bab1e73253274743f7fe65abb318548797cf89 authored 11 months ago by Dmitry Stogov <[email protected]>
Update IR

IR commit: 0108cdf808d1e7dd6b702738949e095151f49040

136a972ccb2a1a4697632da810b2bca4f76d2bad authored 11 months ago by Dmitry Stogov <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Fix GH-10344: imagettfbbox(): Could not find/open font UNC path
Fix GH-13037: Pha...

b8ff8c04f80d98788a89649cb6c8f7d1ca9debdb authored 11 months ago by Niels Dossche <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-10344: imagettfbbox(): Could not find/open font UNC path
Fix GH-13037: Pha...

78986a6734cbcba04b2f6cd13876e46657c776bc authored 11 months ago by Niels Dossche <[email protected]>
Fix GH-10344: imagettfbbox(): Could not find/open font UNC path

libgd uses an incorrect absolute path check in gdft.c.
It checks if either the path starts with ...

4a487294383009d71d9b9ba56f6b589335e70dca authored 11 months ago by Niels Dossche <[email protected]>
Fix GH-13037: PharData incorrectly extracts zip file

The code currently assumes that the extra field length of the central
directory entry and the lo...

ba80372a58351a45913d66576d9730d3065faa31 authored 11 months ago by Niels Dossche <[email protected]>
Zend: Add tests for offsets and containers (#12723)

Add various tests showcasing the behavioural variations of different offset types used on variou...

a479ed7cc51402421ee744ed886eb3f8d35a2287 authored 11 months ago by Gina Peter Banyard <[email protected]>
Fix build warning in ext/mbstring

8128d17cc2668a6a9810fb0cc5b27fdb54c63f2e authored 11 months ago by Niels Dossche <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Fix GH-13232: Segmentation fault will be reported when JIT is off but JIT_debug is ...

e2c3c4830799c056c4b5156876c8a96f2a544116 authored 11 months ago by Niels Dossche <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-13232: Segmentation fault will be reported when JIT is off but JIT_debug is ...

31e8cea1d676b7d85345078ae426b6c3ffb184b4 authored 11 months ago by Niels Dossche <[email protected]>
Fix GH-13232: Segmentation fault will be reported when JIT is off but JIT_debug is still on

Closes GH-13234.

d417072ebe2049a018fa1b457bebf9b57b3b168a authored 11 months ago by Niels Dossche <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Fix segfault caused by use of 'pass' encoding when mbstring converts multipart form...

bcd413818561734341cc5ec553f843e0bdbb52d8 authored 11 months ago by Alex Dowad <[email protected]>
Fix segfault caused by use of 'pass' encoding when mbstring converts multipart form POST data

When mbstring.encoding_translation=1, and PHP receives an (RFC1867)
form-based file upload, and ...

67051eb8ed4c982c8014a7a0d693b83aa388a01e authored 11 months ago by Alex Dowad <[email protected]>
GH-13142: add missing test cases (#13235)

* Added missing global cases to test

* Update gh13142

ea3c541640a75340ea06c460cf282bde5bf75b13 authored 11 months ago by Jorg Adam Sowa <[email protected]>
Avoid new SSA var for ASSIGN_OBJ_REF without RC inference

Previously, this variable was necessary because of auto-vivification on
UNDEF/null/false. It's n...

6f6289caca2f431491cf322e48fc35835d8b70da authored 11 months ago by Ilija Tovilo <[email protected]>
[skip ci] Use _exit for type inference verification

Otherwise we get useless leak warnings when building with asan.

7040e8ee03d11254223aae13a5806aa9bf86241c authored 11 months ago by Ilija Tovilo <[email protected]>
Enable xdebug extension again on nightly (#13192)

0a162394c87987f554c6936fa59362a14aa4806c authored 11 months ago by Jorg Adam Sowa <[email protected]>
[skip ci] Disable pecl redis build

c6a2f2a8cee90b9d5c9423bbda6ec986bc545af0 authored 11 months ago by Ilija Tovilo <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
[skip ci] Fix 64-bit only test

fb4878e5a704e8f999fe32ff9f5851e25dcb17c0 authored 11 months ago by Ilija Tovilo <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
[skip ci] Fix 64-bit only test

ea8d143a5962a73cdbf48d04a4bceb5d264f65e7 authored 11 months ago by Ilija Tovilo <[email protected]>
[skip ci] Fix 64-bit only test

1c1d785c4fba21a3f4e51dfd3025d20ca84508bb authored 11 months ago by Ilija Tovilo <[email protected]>
Fix "warning: conflicting types for ‘zend_multibyte_set_script_encoding’ due to enum/integer mismatch;" (#13227)

5da833514533b4c8a6c95ece1f4af3e7b39107ca authored 11 months ago by tekimen <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Fix dumping of zend_string.val in gdb

d0d565511a47266b1ab1051319714339d8c19a6b authored 11 months ago by Ilija Tovilo <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix dumping of zend_string.val in gdb

0d54b53467835933ff769ae64676e821f15a5ac2 authored 11 months ago by Ilija Tovilo <[email protected]>
Fix dumping of zend_string.val in gdb

char val[1] is now interpreted as a single-character string by gdb, rather than
char*.

Closes G...

f18710e362f1f083310dda733f01686f95463345 authored 11 months ago by Ilija Tovilo <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Fix GH-12504: Corrupted session written when there's a fatal error in autoloader

2c4534a5b92cc4093dc282cbf384d756ef490dfc authored 11 months ago by Niels Dossche <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-12504: Corrupted session written when there's a fatal error in autoloader

d50393e242291bc826dab2f7e94b03a6984ddc0e authored 11 months ago by Niels Dossche <[email protected]>
Fix GH-12504: Corrupted session written when there's a fatal error in autoloader

For details and reasoning, see [1] and following.

[1] https://github.com/php/php-src/issues/125...

7f7031eb72c02774c38929733bda9c036c54ea6c authored 11 months ago by Niels Dossche <[email protected]>
prevents using resource as a zend_type

Closes #13102

513224cf31a5495d45bd10a263dfad693fad393e authored 11 months ago by ju1ius <[email protected]>
Fix PDO unit test description

a96cc80be27db53b3810d37d03042cb4f4fba4a9 authored 11 months ago by Kamil Tekiela <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Fix GH-12481: PHP crash with JIT enabled

19b976472402531fe8819655c6c21d580c8cad5c authored 11 months ago by Dmitry Stogov <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-12481: PHP crash with JIT enabled

0becd4856def4112c1d03af2e826c6585062fe3f authored 11 months ago by Dmitry Stogov <[email protected]>
Fix GH-12481: PHP crash with JIT enabled

f120ac93a12c10abfddc6b7cff38b1235363c85a authored 11 months ago by Dmitry Stogov <[email protected]>
Remove ext/imap — it has been moved to PECL (#13190)

* Remove ext/imap — it has been moved to PECL

https://pecl.php.net/package/imap

* Remove f...

987417e2e081fbead4967088fd55aece3c62ce96 authored 11 months ago by Derick Rethans <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
NEWS
NEWS
Fix GH-13215 GCC 14 build

8ce4d240f7eff59fb280532976a4311bc89c1a0e authored 11 months ago by Remi Collet <[email protected]>
NEWS

fae27cd8c43f8581c3c0cdbca9e0eda1ae6cb5d7 authored 11 months ago by Remi Collet <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
NEWS
Fix GH-13215 GCC 14 build

17d79e1ea65ca52c73c41c1822250f94461ceb22 authored 11 months ago by Remi Collet <[email protected]>
NEWS

242f89283e2c423a6a3a307713b13135dfd0074a authored 11 months ago by Remi Collet <[email protected]>
Fix GH-13215 GCC 14 build

72526609413e8a8cd768ed4966c17b1a9db6c12c authored 11 months ago by Remi Collet <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Wrap cleanup function call with zend_try.

f83cdce0df8afc0ac89448865903b567ce359aef authored 11 months ago by Dmitry Stogov <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Wrap cleanup function call with zend_try.

9f79a98a4ca3b97a1df37fd6ceccb6f66fd7a1c6 authored 11 months ago by Dmitry Stogov <[email protected]>
Wrap cleanup function call with zend_try.

Fizes oss-fuzz #65911

b45e7a613f42290b06c95c2c04c6401a2636606e authored 11 months ago by Dmitry Stogov <[email protected]>
Fix iterator position resetting

Previously, when an array was converted from packed to hashed, iterators would
not be correctly ...

d653646841e38038e03896772010e5169c647439 authored 11 months ago by Ilija Tovilo <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Do not allow zend.script_encoding to be set to 'pass'

6fa4286ba4712963c2a07fdb178c239e04ad4da4 authored 11 months ago by Alex Dowad <[email protected]>
Do not allow zend.script_encoding to be set to 'pass'

When investigating another bug reported by GitHub user 'tstangner',
I discovered that PHP segfau...

1e92d47f410d98685af9af4a8515ce3b6b8bd7e7 authored 11 months ago by Alex Dowad <[email protected]>
ext/curl: Fix `sync-constants` script

The Curl doc page that was used to check the constants was changed from `<pre></pre>` tags to an...

ec0044129a4da9703b06c4494b8fc291d85b88eb authored 11 months ago by Ayesh Karunaratne <[email protected]>
Merge branch 'PHP-8.3'

5517cb01c28018789a4bd0489c6156829e63f083 authored 11 months ago by David Carlier <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

cb97e7d8f3e2a690ed6b884a6c249f59e7fb0a3f authored 11 months ago by David Carlier <[email protected]>
ext/gd disable gh13082 test for travis.

The sample file is for little endian architectures.

Close GH-13208

8d4e177d821a6e31c313f7f87f83d4391ed542e7 authored 11 months ago by David Carlier <[email protected]>
Fix GH-13142: Undefined variable name is shortened when contains \0

Uses the new %S formatter and introduces the necessary changes and
helpers.

fe064d7f12b908360e990364a6415da5b279fab3 authored 11 months ago by Niels Dossche <[email protected]>
Sync Zend/Optimizer headers installation (#13201)

On *nix installation there is zend_dfg.h installed as part of the bug
fix #81136, but it wasn't...

a651ae86aa2e4208f8471277ba69f26fb903e4e7 authored 11 months ago by Peter Kokot <[email protected]>
Add ifdef for NumberFormatter::ROUND_HALFODD

According to the docs, UNUM_ROUND_HALF_ODD is only available since ICU 69.0. The build on Travis...

117b8dee64640e013b1c9564ddba45d406d6c9a1 authored 11 months ago by Máté Kocsis <[email protected]>
Merge branch 'PHP-8.3'

* PHP-8.3:
Fix GH-13177: PHP 8.3.2: final private constructor not allowed when used in trait
...

31092c235d5ebb53e0c644685b3997f6eb52e739 authored 11 months ago by Niels Dossche <[email protected]>
Fix GH-13177: PHP 8.3.2: final private constructor not allowed when used in trait

zend_compile has an exception to this rule for constructors using
`zend_is_constructor`, which c...

c2c1710ed7153c8cfd9572ad6d933c0e9e5c8878 authored 11 months ago by Niels Dossche <[email protected]>
Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Fix GH-12107: When running a stored procedure (that returns a result set) twice, PH...

87728105b9a74e9b577ed373191a06f8ba0c889b authored 11 months ago by Niels Dossche <[email protected]>
Fix GH-12107: When running a stored procedure (that returns a result set) twice, PHP crashes

Closes GH-12771.

0d21a8dcb53367e3c060e68ed93527ce3413f8c6 authored 11 months ago by Niels Dossche <[email protected]>
Add runtime type inference verification

Co-authored-by: Dmitry Stogov <[email protected]>

Closes GH-12930

ffc250d2453b13d7e8132d0cacc39ac6b968dc9f authored 11 months ago by Ilija Tovilo <[email protected]>
Use __attribute__((assume())) in ZEND_ASSUME when available

Closes GH-13171

bf4ec8bd9d9d30713a9d3294b946084a6e9e088a authored 11 months ago by Ilija Tovilo <[email protected]>
ext/openssl: Add X509 purpose constants.

- X509_PURPOSE_OCSP_HELPER.
- X509_PURPOSE_TIMESTAMP_SIGN.
- Also X509_PURPOSE_ANY is ok since 1...

98e2948ca7abaf38358ec4f938470aca2568f263 authored 11 months ago by Vincent JARDIN <[email protected]>
Fix argument type of simplexml_import_dom (#13170)

It needs to be "object".
This is because first- and third-party extension can register custom
...

4bd63568fb807a9bd31992c9ed1372d9739dcdbc authored 11 months ago by Niels Dossche <[email protected]>