| | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
http_parse_params(PECL pecl_http >= 1.0.0) http_parse_params — パラメータリストをパースする 説明
object http_parse_params
( string
$param
[, int $flags = HTTP_PARAMS_DEFAULT
] )パラメータリストをパースします。
引数 パラメータ
返り値パラメータリストを stdClass オブジェクトで返します。 例
例1 http_parse_params() の例
<?php上の例の出力は以下となります。
object(stdClass)#1 (1) {
["params"]=>
array(2) {
[0]=>
string(9) "text/html"
[1]=>
array(1) {
["charset"]=>
string(4) "utf8"
}
}
}
参考
|
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「http_parse_params - パラメータリストをパースする」をGoogle検索
|