diff --git a/language/types.xml b/language/types.xml index 19b225e838..44a7e784c3 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -271,7 +271,7 @@ if ($show_separators) { an object - with zero member variables + with zero member variables (PHP 4 only) the special type Converting to integer section for more information. + As of PHP 5, notice is thrown if you try to convert object to float. @@ -1158,6 +1159,7 @@ $str{strlen($str)-1} = 'e'; object for debugging reasons, read the paragraphs below. If you would like to find out the class name of which an object is an instance of, use get_class. + As of PHP 5, __toString() method is used if applicable. Resources are always converted to strings with the structure