diff --git a/language/types.xml b/language/types.xml index 8b80185393..bc7699fe22 100644 --- a/language/types.xml +++ b/language/types.xml @@ -683,6 +683,13 @@ $foo = ( int ) $bar; between certain types. For instance, the following should be noted. + + When casting or forcing a conversion from array to string, the + result will be the word Array. When casting or + forcing a conversion from object to string, the result will be + the word Object. In both cases a warning will + be issued. + When casting from a scalar or a string variable to an array, the variable will become the first element of the array: