parse_str

parse_str

(PHP 4, PHP 5, PHP 7)

parse_strParses the string into variables

Description

void parse_str ( string $encoded_string [, array &$result ] )

Parses encoded_string as if it were the query string passed via a URL and sets variables in the current scope (or in the array if result is provided).

Parameters

encoded_string

The input string.

登录查看完整内容