http_build_query(PHP 5, PECL pecl_http:0.1.0-0.9.0) http_build_query — Generate URL-encoded query string Описание
string http_build_query
( array $formdata
[, string $numeric_prefix
[, string $arg_separator
]] )
Generates a URL-encoded query string from the associative (or indexed) array provided. Список параметров
Возвращаемые значенияReturns a URL-encoded string. Список изменений
ПримерыПример #1 Simple usage of http_build_query()
<?phpПример #2 http_build_query() with numerically index elements.
<?phpРезультат выполнения данного примера:
Пример #3 http_build_query() with complex arrays
<?phpthis will output : (word wrapped for readability)
Пример #4 Using http_build_query() with an object
<?php |
|
|
| © 2009 Тест скорости интернета | Boont.Ru |