Re: Proposed Function: urlencode_array

From: Date: Wed, 03 Sep 2003 10:26:07 +0000
Subject: Re: Proposed Function: urlencode_array
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-4363@lists.php.net to get a copy of this message
http_build_query() sounds about right to me. --Wez. "Sara Golemon" <pollita@php.net> wrote in message news:20030902212305.8873.qmail@pb1.pair.com... > Since Wez has been talking about an http_request() function (which inspired > the underlying php_url_encode_hash() function), using a name like > http_query_string() (or similar) might suffice for both naming conventions > and suitability. > > -Sara > > > I find this useful, but the name is a bit confusing because the function > > works differently than a combo of urlencode() / rawurlencode() and > > array_map(). One of my picks is build_query_string() (this doesn't conform > > to the naming convention though.) > > > > > proto urlencode_array(array formdata [, string numeric_prefix])

« previous php.internals (#4363) next »