diff --git a/functions/strings.xml b/functions/strings.xml index f5f84cc2e0..ab901bff36 100644 --- a/functions/strings.xml +++ b/functions/strings.xml @@ -1083,11 +1083,14 @@ if (ord ($str) == 10) { void parse_str string str + array arr Parses str as if it were the query string - passed via an URL and sets variables in the current scope. + passed via an URL and sets variables in the current scope. If + the second parameter arr is present, + variables are stored in this variable as an array elements instead. @@ -1101,15 +1104,6 @@ echo $second[1]; /* prints "another" */ - - - This currently requires - register_globals=on - to be set in php.ini, this behaviour may - change in the future (After 4.0.2) and this function might well - also return an array of values. - -