History log of /php-src/NEWS (Results 201 – 225 of 14922)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# d57a7767 10-Jan-2024 Jan Palus

Set libtool tag per command instead of global one

Global --tag=CC defined in configure.ac is not correct in all cases. For example
linking objects that were compiled from C++ sources nee

Set libtool tag per command instead of global one

Global --tag=CC defined in configure.ac is not correct in all cases. For example
linking objects that were compiled from C++ sources needs to be done with C++
compiler, however for link mode libtool will prefer compiler indicated with
--tag.

Fixes GH-12349

show more ...


# 1e464e5b 09-Jan-2024 David Carlier

ext/gd: Fix GH-13082

Issue occur when compiling with recent clang releases (> 13) and
with the '-Os' optimisation level, after using
`imageloadfont` which returns a proper GdFont cl

ext/gd: Fix GH-13082

Issue occur when compiling with recent clang releases (> 13) and
with the '-Os' optimisation level, after using
`imageloadfont` which returns a proper GdFont class leads to
a subtle bug when attempting to use via the imagefont* function.

show more ...


# 1d6f344b 09-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-13094: range(9.9, '0') causes segmentation fault

`start_type + end_type < 2*IS_STRING` is not right, in this test case
the types are start_type==5 (IS_DOUBLE), end_type==7 (IS_ARR

Fix GH-13094: range(9.9, '0') causes segmentation fault

`start_type + end_type < 2*IS_STRING` is not right, in this test case
the types are start_type==5 (IS_DOUBLE), end_type==7 (IS_ARRAY).
The IS_ARRAY type is a sentinel to disambiguate single-byte strings.
The path must be taken when one of the types is not a string nor a
single-byte string. Therefore, use < IS_STRING with an OR condition.

Closes GH-13105.

show more ...


# 90800b62 07-Jan-2024 haszi

Change PHP_ZTS and PHP_DEBUG to bool to match their ZEND equivalents (#13079)

Co-authored-by: haszi <haszika80@gmail.com>


# 3a237b96 05-Jan-2024 Arnaud Le Blanc

[ci skip] NEWS


# 29cb8148 05-Jan-2024 Arnaud Le Blanc

[ci skip] NEWS


# 1612a716 05-Jan-2024 Jakub Zelenka

[ci-skip] Add missing credit for openssl_csr_sign serial_hex to Florian


# e0679f3d 22-Dec-2023 Jakub Zelenka

Introduce new serial_hex parameter to openssl_csr_sign

Co-authored-by: Florian Sowade <f.sowade@suora.com>

Closes GH-13023
Closes GH-9851


# 85dbbe19 03-Jan-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix #71465: PHAR doesn't know about litespeed

We should perhaps look into a generic system to ask the SAPI whether
a feature should be supported or not. Or, we should look into making

Fix #71465: PHAR doesn't know about litespeed

We should perhaps look into a generic system to ask the SAPI whether
a feature should be supported or not. Or, we should look into making
a denylist instead of an allowlist.
Anyway, let's not try doing anything fancy on stable branches.

Closes GH-13070.

show more ...


# d33a5348 02-Jan-2024 Jakub Zelenka

PHP-8.3 is now for PHP-8.3.3-dev


# 1edcfccd 30-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix #77432: Segmentation fault on including phar file

phar_get_pharfp() can return NULL. In this case this is because the
stream gets closed by the include code in the engine. However, t

Fix #77432: Segmentation fault on including phar file

phar_get_pharfp() can return NULL. In this case this is because the
stream gets closed by the include code in the engine. However, the phar
entry is still cached, so when the next include happens the engine tries
to read from a closed (and nullified) stream.
Use the same fix as in phar_open_entry_fp(): take into account that the
phar_get_pharfp() can return NULL and in that case reopen the phar
archive.

Closes GH-13056.

show more ...


# b02f95ad 26-Dec-2023 David Carlier

ext/sockets: adding windows SO_EXCLUSIVEADDRUSE constant.

Close GH-13030


# 77ac1e85 26-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12974: Apache crashes on shutdown when using pg_pconnect()

On ZTS, the global variables are stored in dynamically allocated memory.
When the module gets shut down this memory is r

Fix GH-12974: Apache crashes on shutdown when using pg_pconnect()

On ZTS, the global variables are stored in dynamically allocated memory.
When the module gets shut down this memory is released. After the module
is shut down, only then are the persistent resources cleared. Normally
this isn't an issue, but pgsql and odbc refer to the globals to modify
some counters, after the globals have been freed.
Fix this by guarding the modification.

Closes GH-13032.

show more ...


# 85e5635a 27-Dec-2023 Michael Orlitzky

Fix detection of image formats in system gd library

- Use gdFontCacheShutdown() to detect freetype
Currently we look for gdImageStringFT() to determine whether or not gd
has free

Fix detection of image formats in system gd library

- Use gdFontCacheShutdown() to detect freetype
Currently we look for gdImageStringFT() to determine whether or not gd
has freetype support... but that function always exists. This leads
PHP to believe that gd has freetype support when it does not, and can
lead to build failures.

The gdFontCacheShutdown() function, on the other hand, is only present
when gd was built with freetype support. Let's use that instead.

- Fix GD image format detection
We currently check for, say, AVIF support by attempting to link a
program that calls libgd's gdImageCreateFromAvif() function. But
perversely, that function always exists in libgd; moreover when AVIF
support is missing it emits a warning and returns normally. Thus
our straightforward link test becomes not so straightforward.

This commit adds a new macro PHP_GD_CHECK_FORMAT that compiles, links,
and runs a test program instead. The test program overrides that "emit
a warning" handler so that the program actually fails if the format
we're looking for is not supported. This fixes detection of AVIF and
the other formats we check for in an external libgd.

- ext/gd/tests/bug77391.phpt: skip if gd lacks BMP support
I don't actually know how to remove BMP support from libgd, but PHP
has a ./configure test for it, so we should probably treat it as
optional.

Closes GH-12019

show more ...


# 93951cf5 24-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-13012: DOMNode::isEqualNode() is incorrect when attribute order is different

Attributes (and namespace declarations) have to be compared in an
unordered way.

Closes GH-13

Fix GH-13012: DOMNode::isEqualNode() is incorrect when attribute order is different

Attributes (and namespace declarations) have to be compared in an
unordered way.

Closes GH-13017.

show more ...


# d98a45d0 19-Dec-2023 David Carlier

ext/pgsql: pgsql.allow_persistent, no need to use such large type for boolean state.

also ext/odbc, simplifying odd comparison with non persistent connections.

Close GH-12976


# 5f69232b 23-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Revert "Fix crashes with entity references and predefined entities"

This reverts commit 3fa5af8496bdbc74e24828b790e4acfd6a26f0d4.


# 3fa5af84 22-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix crashes with entity references and predefined entities

There's two issues here:
- freeing of predefined entity declaration crashes (unique to 8.3 & master)
- using multiple entit

Fix crashes with entity references and predefined entities

There's two issues here:
- freeing of predefined entity declaration crashes (unique to 8.3 & master)
- using multiple entity references for a single entity declaration crashes
(since forever)

The fix for the last issue is fairly easy to do on 8.3, but may require a
slightly different approach on 8.2. Therefore, for now this is 8.3-only.

Closes GH-13004.

show more ...


# 8e8d5ce2 22-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix crash in adoptNode with attribute references

I forgot to also update the document reference of attributes, so when
there is no document reference anymore from a variable, but still a

Fix crash in adoptNode with attribute references

I forgot to also update the document reference of attributes, so when
there is no document reference anymore from a variable, but still an
attribute, this can crash. Fix it by also updating the document
references for attributes.

Closes GH-13002.

show more ...


# b2d778c3 22-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix crash when toggleAttribute() is used without a document


# 6a447e74 15-Dec-2023 David Carlier

GH-12943 ext/intl accept C as acceptable locale argument.

Close GH-12955


# b3f483db 21-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12980: tidynode.props.attribute is missing "Boolean Attributes" and empty attributes

Closes GH-12993.


# 08b11e8e 22-Dec-2023 Peter Kokot

[skip ci] Update NEWS so it includes only PHP-8.4 relevant changes


# de5557b0 22-Dec-2023 Peter Kokot

Add cross-compiling 3rd argument to AC_RUN_IFELSE

Autotools emits warning if 3rd argument is empty. Call is wrapped in the
AC_CACHE_CHECK with php_cv_* cache variable name according to t

Add cross-compiling 3rd argument to AC_RUN_IFELSE

Autotools emits warning if 3rd argument is empty. Call is wrapped in the
AC_CACHE_CHECK with php_cv_* cache variable name according to the docs.

Closes GH-12966

show more ...


# b3331644 18-Dec-2023 SakiTakamachi

Fix GH-12969: Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES

Partial backport of GH-12793.

Closes GH-12970.


12345678910>>...597