History log of /PHP-8.2/ (Results 151 – 175 of 110567)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
fae27cd822-Jan-2024 Remi Collet

NEWS

17d79e1e22-Jan-2024 Remi Collet

Merge branch 'PHP-8.2' into PHP-8.3

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


f83cdce022-Jan-2024 Dmitry Stogov

Merge branch 'PHP-8.3'

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


9f79a98a22-Jan-2024 Dmitry Stogov

Merge branch 'PHP-8.2' into PHP-8.3

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


d653646818-Jan-2024 Ilija Tovilo

Fix iterator position resetting

Previously, when an array was converted from packed to hashed, iterators would
not be correctly reset to 0. Similarly, removing the last element from an a

Fix iterator position resetting

Previously, when an array was converted from packed to hashed, iterators would
not be correctly reset to 0. Similarly, removing the last element from an array
would decrease nNumUsed but not actually fix the iterator position, causing the
element to be skipped in the next iteration.

Some code was also removed that skips over IS_UNDEF elements for
nInternalPointer and iterator positions. This is unnecessary, as this already
happens during iteration.

Closes GH-13178
Closes GH-13188

show more ...

6fa4286b21-Jan-2024 Alex Dowad

Merge branch 'PHP-8.3'

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


1e92d47f14-Jan-2024 Alex Dowad

Do not allow zend.script_encoding to be set to 'pass'

When investigating another bug reported by GitHub user 'tstangner',
I discovered that PHP segfaults when the INI parameter
zend.

Do not allow zend.script_encoding to be set to 'pass'

When investigating another bug reported by GitHub user 'tstangner',
I discovered that PHP segfaults when the INI parameter
zend.script_encoding is set to "pass". This bug dates back to
December 2022 (caused by yours truly in 953864661a).

If any PHP users in the wild were actually setting zend.script_encoding
to "pass" (which would be an utterly useless thing to do), I expect that
someone would have filed a bug report by now. The absence of such bug
reports is evidence that nobody is doing this.

Hence, it seems that the best fix is simply to disallow "pass" as a
choice for zend.script_encoding. The internal function
'php_mb_zend_encoding_list_parser' which I am modifying to accomplish
this has no other in-tree callers, aside from the 'exif' extension.
Further, exif only calls the function with a few hard-coded values, and
none of them are the string "pass", so this change will not have any
impact on exif.

show more ...

ec00441221-Jan-2024 Ayesh Karunaratne

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 HTML page.
This updates the regexps to account for

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 HTML page.
This updates the regexps to account for the changes, the Cthulu way.

- New: https://curl.se/libcurl/c/symbols-in-versions.html
- Old: https://web.archive.org/web/20231201000000*/https://curl.se/libcurl/c/symbols-in-versions.html
- Change in curl-www: https://github.com/curl/curl-www/commit/2baba5ed45

show more ...

5517cb0121-Jan-2024 David Carlier

Merge branch 'PHP-8.3'


cb97e7d821-Jan-2024 David Carlier

Merge branch 'PHP-8.2' into PHP-8.3


fe064d7f19-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-13142: Undefined variable name is shortened when contains \0

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

a651ae8620-Jan-2024 Peter Kokot

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 synced with Windows yet. This now syncs

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 synced with Windows yet. This now syncs Zend
headers on both builds.

show more ...

117b8dee20-Jan-2024 Máté Kocsis

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 currently fails probably because it uses a lower

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 currently fails probably because it uses a lower version.

show more ...

31092c2319-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.3'

* PHP-8.3:
Fix GH-13177: PHP 8.3.2: final private constructor not allowed when used in trait
Fix GH-12107: When running a stored procedure (that returns a

Merge branch 'PHP-8.3'

* PHP-8.3:
Fix GH-13177: PHP 8.3.2: final private constructor not allowed when used in trait
Fix GH-12107: When running a stored procedure (that returns a result set) twice, PHP crashes

show more ...


c2c1710e17-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

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 compares

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 compares the function name to
`__construct`. Sadly, `zend_is_constructor` is not a public API, but we
can just do the string compare ourselves.

Closes GH-13179.

show more ...

8772810519-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

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, PHP crashes


ffc250d209-Jan-2024 Ilija Tovilo

Add runtime type inference verification

Co-authored-by: Dmitry Stogov <dmitry@zend.com>

Closes GH-12930

bf4ec8bd16-Jan-2024 Ilija Tovilo

Use __attribute__((assume())) in ZEND_ASSUME when available

Closes GH-13171

98e2948c14-Jan-2024 Vincent JARDIN

ext/openssl: Add X509 purpose constants.

- X509_PURPOSE_OCSP_HELPER.
- X509_PURPOSE_TIMESTAMP_SIGN.
- Also X509_PURPOSE_ANY is ok since 1.0.1+

Close GH-13149

4bd6356818-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix argument type of simplexml_import_dom (#13170)

It needs to be "object".
This is because first- and third-party extension can register custom
node types using `php_libxml_register

Fix argument type of simplexml_import_dom (#13170)

It needs to be "object".
This is because first- and third-party extension can register custom
node types using `php_libxml_register_export`. So we don't know upfront
what types can be expected.

This also changes the error to a TypeError everywhere.

show more ...

8cc472d518-Jan-2024 Ayesh Karunaratne

ext/intl: Add NumberFormatter::ROUND_HALFODD

The NumberFormatter::ROUND_HALFEVEN constant exists in PHP already, but its counterpart ROUND_HALFODD was missing.
This adds it, using `UNUM_

ext/intl: Add NumberFormatter::ROUND_HALFODD

The NumberFormatter::ROUND_HALFEVEN constant exists in PHP already, but its counterpart ROUND_HALFODD was missing.
This adds it, using `UNUM_ROUND_HALF_ODD`

Close GH-13191

show more ...

43b62b7017-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Remove dead code in php_xsl.c

76a3eddf17-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Field cleanups in xsl_object (#13182)

569da8a017-Jan-2024 Peter Kokot

Remove unused internal_functions file (#13175)

On Windows internal_functions.c file is created from the same template
internal_functions.c.in as in Autotools build system. This was once

Remove unused internal_functions file (#13175)

On Windows internal_functions.c file is created from the same template
internal_functions.c.in as in Autotools build system. This was once used
with Microsoft Developer Studio files (1995).

show more ...

043daeee17-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.3'

* PHP-8.3:
Fix crashes with entity references and predefined entities


12345678910>>...4423