com php-src: Added a note in UPGRADING about the new count() warning: UPGRADING
| From: | Joe Watkins | Date: | Thu, 17 Nov 2016 09:33:04 +0000 |
| Subject: | com php-src: Added a note in UPGRADING about the new count() warning: UPGRADING | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95821@lists.php.net to get a copy of this message | ||
Commit: 78f2bce68a6a3e53cf4abcf6d1266ab57530eb1a
Author: Craig Duncan <git@duncanc.co.uk> Sat, 5 Nov 2016 11:49:31 +0000
Committer: Joe Watkins <krakjoe@php.net> Thu, 17 Nov 2016 09:33:04 +0000
Parents: c1001d22d2c1c64dc3df6c1701d03cc7fc26d231
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=78f2bce68a6a3e53cf4abcf6d1266ab57530eb1a
Log:
Added a note in UPGRADING about the new count() warning
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index 98f6744..462c75b 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -108,6 +108,8 @@ PHP 7.2 UPGRADE NOTES
'Multiple' => ['One header', 'Another header'],
'Multiline' = "FirstLine\r\n SecondLine",
];
+ . count() now raises a warning when an invalid parameter is passed.
+ Only arrays and objects implementing the Countable interface should be passed.
- XML:
. utf8_encode() and utf8_decode() have been moved to the Standard extension