PHP Velho Oeste 2024

http_build_str

(PECL pecl_http >= 0.23.0)

http_build_strSorgu dizgesi derler

Açıklama

string http_build_str ( array $sorgu [, string $önek [, string $ayraç ]] )

parse_str() işlevinin zıddı.

Değiştirgeler

sorgu

Sorgu dizgesi değiştirgelerinden oluşan ilişkisel dizi.

önek

En tepe önek.

ayraç

Kullanılacak değiştirge ayracı (öntanımlı olarak arg_separator.output INI ayarı kullanılır; hiçbir şey atanmamışsa "&" kullanılır).

Dönen Değerler

Başarı durumunda derlenen sorgu bir dizi olarak döner, aksi takdirde FALSE döner.

Ayrıca Bakınız

add a note add a note

User Contributed Notes 1 note

up
-1
g dot kuizinas at anuary dot com
11 years ago
For those who are using PECL pecl_http 2, you need to refer to HttpQueryString, which is now implemented under http namespace. Therefore,

<?php new \http\QueryString(); ?>
To Top