Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17611 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30531 invoked by uid 1010); 8 Aug 2005 14:15:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 30515 invoked from network); 8 Aug 2005 14:15:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2005 14:15:17 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:35969] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 45/CE-04646-0F867F24 for ; Mon, 08 Aug 2005 10:15:13 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j78EF7KH019289 for ; Mon, 8 Aug 2005 16:15:07 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j78EF36A019279; Mon, 8 Aug 2005 16:15:03 +0200 Date: Mon, 8 Aug 2005 16:15:03 +0200 (CEST) X-X-Sender: derick@localhost To: Pawel Bernat cc: internals@lists.php.net In-Reply-To: <20050808161105.A32651@vlo> Message-ID: References: <42F76031.6020908@de-punkt.de> <20050808161105.A32651@vlo> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdi-ict.nl Subject: Re: [PHP-DEV] GET/POST whitespace stripping behavior From: derick@php.net (Derick Rethans) On Mon, 8 Aug 2005, Pawel Bernat wrote: > On Mon, Aug 08, 2005 at 03:37:53PM +0200, Christopher Kunz wrote: > > Hi, > > > > I have a general question in regard to the PHP variable normalizing. Obviously, > > leading whitespace in a variable is stripped, but why is trailing whitespace > > converted to underscores? > See http://php.net/manual/en/function.urldecode.php He's asking 'why' not 'how'... Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org