]> granicus.if.org Git - php/commitdiff
add is_a change
authorStanislav Malyshev <stas@php.net>
Wed, 9 Nov 2011 21:43:07 +0000 (21:43 +0000)
committerStanislav Malyshev <stas@php.net>
Wed, 9 Nov 2011 21:43:07 +0000 (21:43 +0000)
UPGRADING

index 61827adbb7de5ffd659fce5d8e27f6cd3addbcd1..eb871a8037b753c49019bdc5d4bb360f4f2ababf 100755 (executable)
--- a/UPGRADING
+++ b/UPGRADING
@@ -222,6 +222,9 @@ UPGRADE NOTES - PHP 5.4
 - Added encode/decode in hex format to mb_[en|de]code_numericentity().
 - Added support for SORT_NATURAL and SORT_FLAG_CASE in array sort functions 
   (sort, rsort, ksort, krsort, asort, arsort and array_multisort).
+- is_a() and is_subclass_of() now have third boolean parameter, which specifies
+  if the first argument can be a string class name. Default if false for is_a
+  and true for is_subclass_of() for BC reasons.
 
 ===================================
 5. Changes made to existing methods