mirror of
git://develop.git.wordpress.org/
synced 2025-02-20 14:44:55 +01:00
Merges [42581], [42585], and [42594] to the 4.9 branch. Adds tests to continue the behavior for both null and strings. Skip the tests on PHP 5.2 as they require ReflectionMethod. See https://wiki.php.net/rfc/counting_non_countables for information on the PHP change. Fixes #42860. Props dd32 for test skipping and janak007 and ayeshrajans for initial patches. git-svn-id: https://develop.svn.wordpress.org/branches/4.9@42597 602fd350-edb4-49c9-b593-d223f7449a82