diff --git a/language/types.xml b/language/types.xml index 69bfca448f..e32fba4018 100644 --- a/language/types.xml +++ b/language/types.xml @@ -1,5 +1,5 @@ - + Types @@ -2123,9 +2123,10 @@ $bar->do_foo(); If an object is converted to an object, it is not modified. If a value of any other type is converted to an object, a new instance of the stdClass built in class is created. If the value - was null, the new instance will be empty. For any other value, a - member variable named scalar will contain the - value. + was &null;, the new instance will be empty. Array converts to an object + with properties named by array keys and with corresponding values. For + any other value, a member variable named scalar will + contain the value.