diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-28 13:24:07 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-28 13:24:07 +0100 |
| commit | 87fefd165a29091c3cb462431529107189c12d55 (patch) | |
| tree | 1750f551b87427692cf2bd61d0bd46959b0d487b /UPGRADING | |
| parent | 26579db403bbcbb96634bf59dd168a4916f172f5 (diff) | |
| download | php-git-87fefd165a29091c3cb462431529107189c12d55.tar.gz | |
Remove ability to unbind $this of closures if used
This was deprecated in PHP 7.4, removing it for PHP 8.0.
Diffstat (limited to 'UPGRADING')
| -rw-r--r-- | UPGRADING | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -39,6 +39,8 @@ PHP 8.0 UPGRADE NOTES . Removed each(). foreach or ArrayIterator should be used instead. . Removed ability to unbind $this from closures that were created from a method, using Closure::fromCallable() or ReflectionMethod::getClosure(). + . Also removed ability to unbind $this from proper closures that contain uses + of $this. . Any array that has a number n as its first numeric key will use n+1 for its next implicit key. Even if n is negative. RFC: https://wiki.php.net/rfc/negative_array_index |
