]> granicus.if.org Git - php/commitdiff
Fix bug #79857: Add upgrading note for exit dtor change
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 20 Jul 2020 13:29:47 +0000 (15:29 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 20 Jul 2020 13:30:20 +0000 (15:30 +0200)
[ci skip]

UPGRADING

index 8e322bd1c133e51b29e6e14b423e4c93f5a9c7d9..f233cd65f94e4bc04fa3ea7288dd614dab63154b 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -197,6 +197,8 @@ PHP 8.0 UPGRADE NOTES
   . Applying the final modifier on a private method will now produce a warning
     unless that method is the constructor.
     RFC: https://wiki.php.net/rfc/inheritance_private_methods
+  . If an object constructor exit()s, the object destructor will no longer be
+    called. This matches the behavior when the constructor throws.
 
 - COM:
   . Removed the ability to import case-insensitive constants from type