From b7f0fa3777eb3d5cd93a95fb651349ae1c007e5b Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sat, 18 Sep 2004 18:57:29 +0000 Subject: [PATCH] Converting from object (bug #29029) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@168755 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/types.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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