1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Commit Graph

144296 Commits

Author SHA1 Message Date
Ilija Tovilo
55c8d4a7e3 Merge branch 'PHP-8.5'
* PHP-8.5:
  Fix dumping function signature with dynamic class const lookup default argument
2025-12-08 16:20:04 +01:00
Ilija Tovilo
e66e9059df Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Fix dumping function signature with dynamic class const lookup default argument
2025-12-08 16:19:53 +01:00
Ilija Tovilo
61eca669d9 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Fix dumping function signature with dynamic class const lookup default argument
2025-12-08 16:19:35 +01:00
Ilija Tovilo
26c0cbd93c Fix dumping function signature with dynamic class const lookup default argument
Fixes OSS-Fuzz #465488618
Closes GH-20651
2025-12-08 16:19:06 +01:00
Alexandre Daubois
1498694e87 ext/ffi: convert zend_parse_parameters_none() to fast ZPP (#20644) 2025-12-08 09:18:44 +01:00
Linus Groh
d4f1300011 opcache: Remove unused sys/ipc.h include from ZendAccelerator.c (#20662)
As far as I can tell that's been there since the initial open source
release (commit 528006a). The header defines ftok() and a handful of
IPC_* constants, none of which are used here.

System V IPC is increasingly being replaced by POSIX IPC and may
therefore not be implemented on new and/or hobbyist operating systems
such as SerenityOS[1]. In the past that wasn't an issue as the OPCache
could be disabled, which is no longer possible as of PHP 8.5[2].

I was able to build with the include patched out, but we would prefer
this to be addressed upstream.

1: https://github.com/SerenityOS/serenity/pull/26465
2: https://github.com/php/php-src/pull/18961
2025-12-07 22:48:43 +01:00
Michael Voříšek
88a323ecd0 Fix Zend/zend_simd.h file whitespaces sync (#20486) 2025-12-07 13:18:54 +01:00
Alexandre Daubois
1fb4e573ff Merge branch 'PHP-8.5'
* PHP-8.5:
  Fix TypeError message of `setlocale()` (#20625)
2025-12-06 18:06:53 +01:00
Takuya Aramaki
5528df1a20 Fix TypeError message of setlocale() (#20625) 2025-12-06 18:06:19 +01:00
David Carlier
824c389128 Merge branch 'PHP-8.5'
* PHP-8.5:
  Fix GH-20620: bzcompress() overflow on large source size.
2025-12-05 22:32:39 +00:00
David Carlier
d9032b376f Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Fix GH-20620: bzcompress() overflow on large source size.
2025-12-05 22:32:28 +00:00
David Carlier
83b36de67d Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Fix GH-20620: bzcompress() overflow on large source size.
2025-12-05 22:31:14 +00:00
David Carlier
1f1147a666 Fix GH-20620: bzcompress() overflow on large source size.
close GH-20621
2025-12-05 22:30:51 +00:00
Sadetdin EYILI
9ed85aaf9a Add php.github.io/php-src to CONTRIBUTING.md Technical Resources list (GH-20580) 2025-12-05 20:22:43 +01:00
René Schleusner
26e0bfa341 Fixed some typos in docs and fpm pool config (GH-20587)
* Fix some typos in docs

* Fix typo in output header example of fpm pool config
2025-12-05 20:20:40 +01:00
David Carlier
4cc5f02387 Merge branch 'PHP-8.5'
* PHP-8.5:
  ext/gd: fix build
2025-12-04 23:25:42 +00:00
David Carlier
e910bbf144 ext/gd: fix build 2025-12-04 23:25:29 +00:00
David Carlier
8504b18a34 Merge branch 'PHP-8.5'
* PHP-8.5:
  Fix GH-20622: imagestring/imagestringup overflow/underflow.
2025-12-04 23:16:22 +00:00
David Carlier
400aa844a6 Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Fix GH-20622: imagestring/imagestringup overflow/underflow.
2025-12-04 23:16:08 +00:00
David Carlier
2c2852ae8e Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Fix GH-20622: imagestring/imagestringup overflow/underflow.
2025-12-04 23:14:01 +00:00
David Carlier
9f654decdc Fix GH-20622: imagestring/imagestringup overflow/underflow.
close GH-20623
2025-12-04 23:13:29 +00:00
Alexandre Daubois
fc592c78f2 WeakMap: convert zend_parse_parameters_none() to fast ZPP (#20643) 2025-12-04 16:09:36 +00:00
Ilija Tovilo
f35a497b9d Merge branch 'PHP-8.5'
* PHP-8.5:
  Fix warning on 8.5
2025-12-04 13:51:57 +01:00
Ilija Tovilo
f39ae2fc67 Fix warning on 8.5 2025-12-04 13:51:16 +01:00
Alexandre Daubois
3f1409b024 Merge branch 'PHP-8.5'
* PHP-8.5:
  Fix GH-20370: forbid user stream filters to violate typed property constraints (#20373)
2025-12-04 09:12:35 +01:00
Alexandre Daubois
d74085bf8c Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Fix GH-20370: forbid user stream filters to violate typed property constraints (#20373)
2025-12-04 09:11:52 +01:00
Alexandre Daubois
175548e868 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Fix GH-20370: forbid user stream filters to violate typed property constraints (#20373)
2025-12-04 09:11:09 +01:00
Alexandre Daubois
77f2d12849 Fix GH-20370: forbid user stream filters to violate typed property constraints (#20373) 2025-12-04 09:09:30 +01:00
Niels Dossche
114260bdc4 Merge branch 'PHP-8.5'
* PHP-8.5:
  Fix GH-20631: Integer underflow in exif HEIF parsing
2025-12-03 22:30:26 +01:00
Oblivionsage
6a0da6dc2e Fix GH-20631: Integer underflow in exif HEIF parsing
When pos.size is less than 2, the subtraction pos.size - 2 causes
an unsigned integer underflow, resulting in a ~4GB allocation attempt.

Add minimum size check (pos.size >= 2) to prevent the underflow.

Closes GH-20630.
2025-12-03 22:30:12 +01:00
Niels Dossche
d998a791da Merge branch 'PHP-8.5'
* PHP-8.5:
  xml: Fix deprecation properly by backporting the modern-but-actually-old implementation
2025-12-03 22:17:30 +01:00
Niels Dossche
aa82371358 Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  xml: Fix deprecation properly by backporting the modern-but-actually-old implementation
2025-12-03 22:17:25 +01:00
Niels Dossche
2521c348da Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  xml: Fix deprecation properly by backporting the modern-but-actually-old implementation
2025-12-03 22:17:18 +01:00
Niels Dossche
a960edc077 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  xml: Fix deprecation properly by backporting the modern-but-actually-old implementation
2025-12-03 22:17:07 +01:00
Niels Dossche
d635c8788b xml: Fix deprecation properly by backporting the modern-but-actually-old implementation 2025-12-03 22:16:54 +01:00
David Carlier
50abef95bd Merge branch 'PHP-8.5'
* PHP-8.5:
  Fix GH-20603 issue on windows 32 bits.
2025-12-03 20:23:01 +00:00
David Carlier
f90d1f7aa6 Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Fix GH-20603 issue on windows 32 bits.
2025-12-03 20:22:50 +00:00
David Carlier
51f4450b47 Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Fix GH-20603 issue on windows 32 bits.
2025-12-03 20:22:38 +00:00
David Carlier
ff51ac161d Fix GH-20603 issue on windows 32 bits.
the timeout needed to be unsigned.

close GH-20634
2025-12-03 20:22:14 +00:00
Ilija Tovilo
314dabacd0 Merge branch 'PHP-8.5'
* PHP-8.5:
  Fix yet another xml deprecation
2025-12-03 14:53:34 +01:00
Ilija Tovilo
cd22fd15f6 Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Fix yet another xml deprecation
2025-12-03 14:53:23 +01:00
Ilija Tovilo
baf193fc0d Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  Fix yet another xml deprecation
2025-12-03 14:53:09 +01:00
Ilija Tovilo
0106134bb9 Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2:
  Fix yet another xml deprecation
2025-12-03 14:53:02 +01:00
Ilija Tovilo
fe070fcc75 Fix yet another xml deprecation 2025-12-03 14:51:52 +01:00
Saki Takamachi
2f2544e522 Merge branch 'PHP-8.5'
* PHP-8.5:
  PHP-8.4 is now for PHP 8.4.17-dev
2025-12-03 14:55:57 +09:00
Saki Takamachi
84cf16f700 Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  PHP-8.4 is now for PHP 8.4.17-dev
2025-12-03 14:55:35 +09:00
Saki Takamachi
2ec8c29fda PHP-8.4 is now for PHP 8.4.17-dev 2025-12-03 14:52:20 +09:00
Niels Dossche
64d8b2af3d Merge branch 'PHP-8.5'
* PHP-8.5:
  intl: Fix tests for icu update
2025-12-02 21:03:21 +01:00
Niels Dossche
6333ca8cb7 Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  intl: Fix tests for icu update
2025-12-02 21:03:15 +01:00
Niels Dossche
78e3d05d7d Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3:
  intl: Fix tests for icu update
2025-12-02 21:00:13 +01:00