]> granicus.if.org Git - php/commitdiff
Add __debugInfo() to UPGRADING.
authorAdam Harvey <aharvey@php.net>
Fri, 8 Aug 2014 19:00:13 +0000 (12:00 -0700)
committerAdam Harvey <aharvey@php.net>
Fri, 8 Aug 2014 19:00:13 +0000 (12:00 -0700)
RMs: this is an UPGRADING only change, and should be safe for RCs.

Developers: please remember to update UPGRADING, otherwise there's a good
chance your shiny new feature won't be documented! (As has happened here.)

UPGRADING

index 7a174c47c2a034ac3718cf364cde66569d72b0d7..f479e0d2ae95686438642355049d668d89585e9e 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -89,6 +89,10 @@ PHP 5.6 UPGRADE NOTES
 - Added a function for timing attack safe string comparison
   (https://wiki.php.net/rfc/timing_attack)
 
+- Added the __debugInfo() magic method to allow userland classes to implement
+  the get_debug_info API previously available only to extensions.
+  (https://wiki.php.net/rfc/debug-info)
+
 - Added gost-crypto (CryptoPro S-box) hash algorithm.
 
 - Stream wrappers verify peer certificates and host names by default in