diff --git a/language/variables.xml b/language/variables.xml index 315189c5d4..16b1f3550c 100644 --- a/language/variables.xml +++ b/language/variables.xml @@ -1080,6 +1080,19 @@ $varname.ext; /* invalid variable name */ is_string. See also the chapter on Types. + + HTTP being a text protocol, most, if not all, content that comes in + Superglobal arrays, + like $_POST and $_GET will remain + as strings. PHP will not try to convert values to a specific type. + In the example below, $_GET["var1"] will contain the + string "null" and $_GET["var2"], the string "123". + + + + @@ -1123,7 +1136,8 @@ $varname.ext; /* invalid variable name */ 4.1.0 - Superglobal arrays, + Superglobal arrays, like $_POST and $_GET became available