History log of /php-src/NEWS (Results 1726 – 1750 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# ddc0b490 10-Mar-2022 Ilija Tovilo

Allow arbitrary const expressions in backed enums

Closes GH-7821
Closes GH-8190
Closes GH-8418

# 5a855ee8 02-Jun-2022 Ilija Tovilo

Fix GH-8661: Nullsafe in coalesce triggers undefined variable warning

Closes GH-8690

# d9f3ca70 07-Jun-2022 Rowan Tommins

Add deprecation notices to utf8_encode and utf8_decode

Implements initial stage of accepted RFC to remove them:
https://wiki.php.net/rfc/remove_utf8_decode_and_utf8_encode

Tests

Add deprecation notices to utf8_encode and utf8_decode

Implements initial stage of accepted RFC to remove them:
https://wiki.php.net/rfc/remove_utf8_decode_and_utf8_encode

Tests relating to SOAP and htmlspecialchars seem to have been
using this entirely unnecessarily, so have been fixed.

Closes GH-8726.

show more ...

# 13479ee2 11-Jun-2022 Alex Dowad

Restore backwards-compatible mappings for 0x5C/0x7E in SJIS (for fast conversion filter)

In d62f535caa, the legacy mbstring conversion filters for Shift-JIS
was updated to restore backwa

Restore backwards-compatible mappings for 0x5C/0x7E in SJIS (for fast conversion filter)

In d62f535caa, the legacy mbstring conversion filters for Shift-JIS
was updated to restore backwards-compatible mappings for 0x5C/0x7E.
Make the same change to the newer fast conversion filters.

show more ...

# 6b02cabc 09-Jun-2022 David CARLIER

Add `SO_SETFIB` FreeBSD socket option constant.

Aims to set the route table.
Closes #8742.

# 8b07921a 10-Jun-2022 Remi Collet

[ci skip] missing CVE

# 62f64141 10-Jun-2022 Remi Collet

[ci skip] missing CVE

# 976cbba7 09-Jun-2022 Jakub Zelenka

Merge branch 'PHP-8.0' into PHP-8.1


# b765d4cd 21-May-2022 Jakub Zelenka

Fix bug #50293 and #81713: file path checking in OpenSSL functions

It introduces a single function to check file paths passed to OpenSSL
functions. It expands the path, check null bytes

Fix bug #50293 and #81713: file path checking in OpenSSL functions

It introduces a single function to check file paths passed to OpenSSL
functions. It expands the path, check null bytes and finally does
an open basedir check.

show more ...

# 34208bfd 09-Jun-2022 Bob Weinand

Merge branch 'PHP-8.1'


# 96e3a9d3 09-Jun-2022 Nicolas Grekas

Fix RC=1 references of declared properties when casting objects to arrays

Fixes GH-8655.
Closes GH-8737.

# d677cc13 06-Jun-2022 David Carlier

Add `SO_BPF_EXTENSIONS` flag to socket.

Returns the supported bpf extensions from the kernel. Linux only.
Closes GH-8713.

# 59a3de37 07-Jun-2022 Ben Ramsey

Fix date on PHP 8.1.7 release

# a0f479f0 06-Jun-2022 Stanislav Malyshev

Update NEWS

# 418f7211 07-Jun-2022 Sergey Panteleev

Update NEWS for PHP 8.2.0 alpha2

# 6fe7ff95 03-Jun-2022 David Carlier

Implements ancillary data on NetBSD.

With the couple LOCAL_CREDS/SCM_CREDS, in this system we get all the
infos needed (included the process id).
Closes GH-8700.

# c9ec5cfd 03-Jun-2022 Remi Collet

NEWS for GH-8685

# ae8c2bc1 03-Jun-2022 Remi Collet

NEWS for GH-8685

# df52903e 25-May-2022 Yurun

Closes GH-8626: Fix PDOStatement->execute() failed.
Then execute successfully, errorInfo() information is incorrect

# 2ce2aff5 02-Jun-2022 Sam

Better return types for `getBackingType` (#8687)

The only backing types for Enums are int and string. The proper return type for ReflectionEnum::getBackingType() is thus null|ReflectionNamed

Better return types for `getBackingType` (#8687)

The only backing types for Enums are int and string. The proper return type for ReflectionEnum::getBackingType() is thus null|ReflectionNamedType.

See also https://github.com/php/doc-en/pull/1608

Closes GH-8687

show more ...

# f813520b 02-Jun-2022 David CARLIER

Implements socket ancillary data on FreeBSD. (#7708)

using LOCAL_CREDS_PERSISTENT/SCM_CREDS2 instead so we also get the send process id.

# 01d84545 31-May-2022 Sara Golemon

Verify internal types before abandoning call frame

An internal caller executing a builtin method with
a static return type will lose context if we drop
our frame before performing th

Verify internal types before abandoning call frame

An internal caller executing a builtin method with
a static return type will lose context if we drop
our frame before performing the validation.

show more ...

# 93fc88e8 25-May-2022 Ilija Tovilo

Fix Enum::from/tryFrom memory leak in JIT for internal enums

when passing an int to a string enum. Previously, the int was coerced to
a string. The JIT skips parameter clean up when unne

Fix Enum::from/tryFrom memory leak in JIT for internal enums

when passing an int to a string enum. Previously, the int was coerced to
a string. The JIT skips parameter clean up when unnecessary. In this
particular case, passing int to from(int|string) normally doesn't cause
a coercion so no dtor for the $value zval is generated.

To circumvent this we avoid coersion by explicitly allowing ints and
converting them to strings ourselves. Then we can free it appropriately.

See GH-8518
Closes GH-8633

show more ...

# 39a67f80 27-May-2022 Christoph M. Becker

[ci skip] Improve latest NEWS entries to point to actual bug report

# 2920a266 22-Apr-2022 Calvin Buckley

Quote when adding to connection string in (PDO_)ODBC

Because the UID= and PWD= values are appended to the SQLDriverConnect
case when credentials are passed, we have to append them to the

Quote when adding to connection string in (PDO_)ODBC

Because the UID= and PWD= values are appended to the SQLDriverConnect
case when credentials are passed, we have to append them to the string
in case users are relying on this behaviour. However, they must be
quoted, or the arguments will be invalid (or possibly more injected).
This means users had to quote arguments or append credentials to the raw
connection string themselves.

It seems that ODBC quoting rules are consistent enough (and that
Microsoft trusts them enough to encode into the .NET BCL) that we can
actually check if the string is already quoted (in case a user is
already quoting because of this not being fixed), and if not, apply the
appropriate ODBC quoting rules.

This is because the code exists in main/, and are shared between
both ODBC extensions, so it doesn't make sense for it to only exist
in one or the other. There may be a better spot for it.

Closes GH-8307.

show more ...

1...<<61626364656667686970>>...619