History log of /PHP-8.0/UPGRADING (Results 1 – 25 of 1227)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 09062704 08-May-2021 Nikita Popov

Revert "Remove no longer used "log_errors_max_len" ini directive (#6838)"

This reverts commit d2d227e54765a5de863c6608fd64e1228ab08108.

This is an ABI break.


# c2b52847 08-May-2021 Ben Ramsey

Add entries for log_errors_max_len INI directive removal


# 2e854791 30-Dec-2020 Christoph M. Becker

[ci skip] Fix pgsql constant names in UPGRADING


Revision tags: php-8.0.0, php-7.3.25, php-7.4.13
# f1d11c11 18-Nov-2020 Christoph M. Becker

Fix #62004: SplFileObject: fgets after seek returns wrong line

As it is, `::seek(0)` sets the file pointer to the beginning of the
file, but `::seek($n)` where `$n > 0` sets the file poi

Fix #62004: SplFileObject: fgets after seek returns wrong line

As it is, `::seek(0)` sets the file pointer to the beginning of the
file, but `::seek($n)` where `$n > 0` sets the file pointer to the
beginning of the following line, having line `$n` already read into the
line buffer. This is pretty inconsistent; we fix it by always seeking
to the beginning of the line.

We also add a test case for the duplicate bug #46569.

Closes GH-6434.

show more ...


# a55402d0 24-Nov-2020 George Peter Banyard

Rename XmlParser to XMLParser for consistency with XMLWriter/XMLReader


# 306555e1 25-Nov-2020 Nikita Popov

Add UPGRADING note for PDO::inTransaction()

[ci skip]


# cdd5ec7a 24-Nov-2020 Florian Engelhardt

[ci skip] Fix misspelled method names

Closes GH-6452.


# 860f46e2 20-Nov-2020 jrfnl

UPGRADING: (real) cast has been removed

.. but the removal wasn't mentioned in the `UPGRADING` docs yet.

Ref:
* https://github.com/php/php-src/pull/5220
* https://github.com

UPGRADING: (real) cast has been removed

.. but the removal wasn't mentioned in the `UPGRADING` docs yet.

Ref:
* https://github.com/php/php-src/pull/5220
* https://github.com/php/php-src/commit/c9db32271a8083721582c5ec1dd09c4d4f562c74

Closes GH-6440.

[ci-skip]

show more ...


Revision tags: php-8.0.0RC5
# 7bbed180 14-Nov-2020 Pavel Djundik

[ci skip] Add note that imagedestroy() no longer has an effect

Closes GH-6427.


Revision tags: php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1
# 4d16d3cc 02-Nov-2020 Chris Brown

Fix typo in UPGRADING

Closes GH-6395.


# 94938e4e 02-Nov-2020 Chris Brown

[ci skip] Fix small typo

`as` -> `was`

Closes GH-6394.


# 2693f799 28-Oct-2020 Dmitry Stogov

Don't force rebuild of symbol table, when populating $http_response_header variable by the HTTP stream wrapper


Revision tags: php-7.4.12, php-8.0.0RC3
# d776d25a 27-Oct-2020 Nikita Popov

Don't throw for out of bounds offsets in strspn()

Make strspn($str1, $str2, $offset, $length) behaviorally
equivalent to strspn(substr($str1, $offset, $length), $str2)
by not throwin

Don't throw for out of bounds offsets in strspn()

Make strspn($str1, $str2, $offset, $length) behaviorally
equivalent to strspn(substr($str1, $offset, $length), $str2)
by not throwing for out of bounds offset.

There have been two reports that this change cause issues,
including bug #80285.

show more ...


Revision tags: php-7.3.24
# 9c28dc0c 24-Oct-2020 Thiemo Kreuz

Document breaking change in strspn/strcspn

See https://phabricator.wikimedia.org/T264502.

[ci skip]


# fab76e3a 25-Oct-2020 Christoph M. Becker

[ci skip] Fix typos in UPGRADING


# c97da0f8 19-Oct-2020 Nikita Popov

Revert "Fix bug #64865: Use CONTEXT_DOCUMENT_ROOT for scanning dir tree"

This reverts commit 98bfad738ad2734dfba5733323f7ba733daf3ec3.

This doesn't work well in some setups, see bug

Revert "Fix bug #64865: Use CONTEXT_DOCUMENT_ROOT for scanning dir tree"

This reverts commit 98bfad738ad2734dfba5733323f7ba733daf3ec3.

This doesn't work well in some setups, see bug #80113 and GH-5051.
Reverting this for now.

show more ...


# 6669426a 16-Oct-2020 Anatoly Pashin

[ci skip] Make it clear what GD uses instead of resources

Closes GH-6342.


Revision tags: php-8.0.0RC2
# d6264b09 13-Oct-2020 Máté Kocsis

Verify parameter names of function aliases

Closes GH-6335


# 5582490b 13-Oct-2020 Nikita Popov

Normalize mb_ereg() return value

mb_ereg()/mb_eregi() currently have an inconsistent return value
based on whether the $matches parameter is passed or not:

> Returns the byte le

Normalize mb_ereg() return value

mb_ereg()/mb_eregi() currently have an inconsistent return value
based on whether the $matches parameter is passed or not:

> Returns the byte length of the matched string if a match for
> pattern was found in string, or FALSE if no matches were found
> or an error occurred.
>
> If the optional parameter regs was not passed or the length of
> the matched string is 0, this function returns 1.

Coupling this behavior to the $matches parameter doesn't make sense
-- we know the match length either way, there is no technical
reason to distinguish them. However, returning the match length
is not particularly useful either, especially due to the need to
convert 0-length into 1-length to satisfy "truthy" checks. We
could always return 1, which would kind of match the behavior of
preg_match() -- however, preg_match() actually returns the number
of matches, which is 0 or 1 for preg_match(), while false signals
an error. However, mb_ereg() returns false both for no match and
for an error. This would result in an odd 1|false return value.

The patch canonicalizes mb_ereg() to always return a boolean,
where true indicates a match and false indicates no match or error.
This also matches the behavior of the mb_ereg_match() and
mb_ereg_search() functions.

This fixes the default value integrity violation in PHP 8.

Closes GH-6331.

show more ...


Revision tags: php-7.4.12RC1, php-7.3.24RC1
# fbf221ca 11-Oct-2020 Christoph M. Becker

XMLReader::open() and XMLReader::xml() are now static


# 10796220 02-Oct-2020 Remi Collet

add note about is_callable change


# d7243ce2 02-Oct-2020 Nikita Popov

Add UPGRADING note for substr() behavior

[ci skip]


# 550a4f2f 01-Oct-2020 Côme Chilliet

Remove deprecated functions from php-ldap

Remove ldap_control_paged_result and ldap_control_paged_result_response
which have been deprecated in PHP 7.4, in favor of new $controls
p

Remove deprecated functions from php-ldap

Remove ldap_control_paged_result and ldap_control_paged_result_response
which have been deprecated in PHP 7.4, in favor of new $controls
parameters for ldap request functions.

show more ...


Revision tags: php-7.2.34, php-8.0.0rc1
# e39ce172 29-Sep-2020 Remi Collet

bump zip extension version


Revision tags: php-7.4.11
# b5cb999e 29-Sep-2020 Christoph M. Becker

[ci skip] Fix version


12345678910>>...50