Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4363 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5399 invoked by uid 1010); 3 Sep 2003 10:26:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5373 invoked from network); 3 Sep 2003 10:26:24 -0000 Received: from unknown (HELO mx.thebrainroom.net) (65.200.24.98) by pb1.pair.com with SMTP; 3 Sep 2003 10:26:24 -0000 Received: by mx.thebrainroom.net (Postfix, from userid 517) id 108A1148808C; Wed, 3 Sep 2003 03:24:31 -0700 (PDT) Received: from zaneeb.brainnet.i (gate.thebrainroom.net [195.149.29.154]) by mx.thebrainroom.net (Postfix) with ESMTP id 82AF9148808A; Wed, 3 Sep 2003 03:24:26 -0700 (PDT) Received: from TITAN (titan.brainnet.i [192.168.2.7]) by zaneeb.brainnet.i (8.11.6/8.11.6) with SMTP id h83AQHi20210; Wed, 3 Sep 2003 11:26:17 +0100 Message-ID: <009b01c37205$c9951720$0702a8c0@TITAN> To: "Sara Golemon" , "PHP internals" References: <20030828211521.99071.qmail@pb1.pair.com> <20030903061047dj4vK$@at.wakwak.com> <20030902212305.8873.qmail@pb1.pair.com> Date: Wed, 3 Sep 2003 11:26:07 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,QUOTED_EMAIL_TEXT,REFERENCES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-TBR-Filter: Virus scanned and defanged Subject: Re: [PHP-DEV] Proposed Function: urlencode_array From: wez@thebrainroom.com ("Wez Furlong") http_build_query() sounds about right to me. --Wez. "Sara Golemon" 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])