History log of /php-src/UPGRADING (Results 101 – 125 of 1596)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 88ba9dc6 07-Dec-2023 Gina Peter Banyard

ext/mbstring: Always throw ValueErrors for invalid mb_http_input() type

# 1816403d 07-Dec-2023 Frank Denis <124872+jedisct1@users.noreply.github.com>

[sodium] Add AEGIS-128L and AEGIS-256 (#12867)

Also don't prevent usage of AES-GCM on aarch64, it's been supported since libsodium 1.0.18.

Fixes #12312

# e74bf42c 06-Dec-2023 Gina Peter Banyard

ext/mbstring: Check conversion map only has integers

# 683e7878 04-Dec-2023 David Carlier

Fix GH-12727: NumberFormatter constructor throws an exception on invalid locale.

Also re-establishing exception throwing on IntlDateFormatter constructor
overwritten by accident most lik

Fix GH-12727: NumberFormatter constructor throws an exception on invalid locale.

Also re-establishing exception throwing on IntlDateFormatter constructor
overwritten by accident most likely so postponing it for next major
release.

Close GH-12868

show more ...

# 9c306470 04-Dec-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Handle libxml2 OOM more consistently (#11927)

This is a continuation of commit c2a58ab07d, in which several OOM error
handling was converted to throwing an INVALID_STATE_ERR DOMException

Handle libxml2 OOM more consistently (#11927)

This is a continuation of commit c2a58ab07d, in which several OOM error
handling was converted to throwing an INVALID_STATE_ERR DOMException.
Some places were missed and they still returned false without an
exception, or threw a PHP_ERR DOMException.
Convert all of these to INVALID_STATE_ERR DOMExceptions. This also
reduces confusion of users going through documentation [1].

Unfortunately, not all node creations are checked for a NULL pointer.
Some places therefore will not do anything if an OOM occurs (well,
except crash).
On the one hand it's nice to handle these OOM cases.
On the other hand, this adds some complexity and it's very unlikely to
happen in the real world. But then again, "unlikely" situations have
caused trouble before. Ideally all cases should be checked.

[1] https://github.com/php/doc-en/issues/1741

show more ...

# 2d057757 24-Nov-2023 Máté Kocsis

Deprecate calling stream_context_set_option() with 2 arguments

# b36eac94 22-Nov-2023 Máté Kocsis

Deprecate calling session_set_save_handler() with more than 2 arguments

# 688c6f37 20-Nov-2023 Máté Kocsis

Deprecate calling ReflectionMethod::__construct() with 1 argument

# beaf1e81 19-Nov-2023 Máté Kocsis

Deprecate calling pg_fetch_result(), pg_field_prtlen(), and pg_field_is_null() with 2 arguments

# 682c2366 19-Nov-2023 Máté Kocsis

Deprecate calling ldap_exop() with more than 4 arguments

# 1d41eb30 19-Nov-2023 Máté Kocsis

Deprecate calling ldap_connect() with more than 2 arguments

# 811245d2 18-Nov-2023 Máté Kocsis

Calling IntlGregorianCalendar::__construct() with more than 2 arguments and intlgregcal_create_instance()

# f4df37af 18-Nov-2023 Máté Kocsis

Deprecate calling IntlCalendar::set() with more than 2 arguments and intlcal_set()

# adc26424 18-Nov-2023 Máté Kocsis

Deprecate calling DatePeriod::__construct() with less than 3 arguments

# 866aa12b 04-Dec-2023 Saki Takamachi <34942839+SakiTakamachi@users.noreply.github.com>

ext/pdo: Fixed PDO::setAttribute() and PDO::getAttribute() (#12793)

# 6edbbc1c 25-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Implement GH-12385: flush headers without body when calling flush()

Closes GH-12785.

# fde41bc7 16-Nov-2023 Daniil Gentili

Report fatal error if JIT cannot be enabled

Closes GH-12403

# fd3a8656 24-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] UPGRADING

# d3c26737 24-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] NEWS and UPGRADING for mb_*trim

# 1e66e6ae 20-Nov-2023 Jakub Zelenka

Revert incomplete PG pipeline addition

Closes GH-12735

# 76582205 17-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Improve performance of mbfl_name2encoding() by using perfect hashing (#12707)

mbfl_name2encoding() uses a linear loop through the encodings, comparing
the name one by one, which is very

Improve performance of mbfl_name2encoding() by using perfect hashing (#12707)

mbfl_name2encoding() uses a linear loop through the encodings, comparing
the name one by one, which is very slow. For the benchmark [1] just
looking up the name takes about 50% of run-time.

By using perfect hashing instead, we no longer have to loop over the
list, and the number of string comparisons is reduced to just a single
one. The perfect hashing table is generated using GNU gperf and amended
manually to fit in with mbstring and manually changed to reduce the
cache size.

[1] https://github.com/php/php-src/issues/12684#issuecomment-1813799924

show more ...

# 0f349d4c 16-Nov-2023 Jakub Zelenka

Add POSIX_SC_CHILD_MAX and POSIX_SC_CLK_TCK constants

Closes GH-12689

# 1bdb0fdd 16-Nov-2023 Gina Peter Banyard

Refactor pcntl_sigprocmask()/pcntl_sigwaitinfo()/pcntl_sigtimedwait() (#11860)

# 1492be52 13-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[RFC] DOM HTML5 parsing and serialization support (#12111)

# 3b68df24 12-Nov-2023 Jakub Zelenka

Add note to UPGRADING about proc_open changes for invalid command

Closes GH-12589

12345678910>>...64