Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43722 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47515 invoked from network); 16 Apr 2009 21:08:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Apr 2009 21:08:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.220.172 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 209.85.220.172 mail-fx0-f172.google.com Received: from [209.85.220.172] ([209.85.220.172:52548] helo=mail-fx0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/38-24434-C5E97E94 for ; Thu, 16 Apr 2009 17:08:44 -0400 Received: by fxm20 with SMTP id 20so625991fxm.23 for ; Thu, 16 Apr 2009 14:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=zIOY5m0GFyJ00mFLEIL5t2rdMjEzWMMbd0x7TVbmDgw=; b=C1uVw2PRWUBipaH5Zvft4u9m9HLdWqIIKgPSYqbkYPYkQBCtByKkgLSGcF988NUo8k 3+hHl6wAmfloWRZ5o8LXCjVPg8QUq/t8Yb4nlMT30sbvXXRQw7vmsqqwsGU1GaI5PrDk iEyt1QvwTfRdYFJt875xiI1PYihXZHf15pCpU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=lOrkCHwdHmUUBPahXhJyXaXVSoENOu5JKobExEK8ch+dWdT4uHypanBJtZ0TjK2BEh Dk/FlZvr2JQWfAJLnvtDitXO+91sSlLZ+xT+ClEBEjYiihcYcX0zM0zXyX3kgF10ojFZ bU9YZZkKHpexs6B3lMFjsKADN0YMsp4NUoPUI= MIME-Version: 1.0 Received: by 10.223.108.75 with SMTP id e11mr536233fap.51.1239916121391; Thu, 16 Apr 2009 14:08:41 -0700 (PDT) Reply-To: RQuadling@googlemail.com In-Reply-To: <49E76087.5060900@sci.fi> References: <10845a340904160841n201db2edyf1ac121a40b14674@mail.gmail.com> <49E76087.5060900@sci.fi> Date: Thu, 16 Apr 2009 22:08:26 +0100 Message-ID: <10845a340904161408p6186edd9xe77d324a1446225b@mail.gmail.com> To: jani.taskinen@iki.fi Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] arg_separator.input / arg_separator.output and ini files. From: rquadling@googlemail.com (Richard Quadling) 2009/4/16 Jani Taskinen : > Richard Quadling kirjoitti: >> >> Hi. >> >> In the ini files the arg_separator's are detailed as ... >> >> ; The separator used in PHP generated URLs to separate arguments. >> ; PHP's default setting is "&". >> ; http://php.net/arg-separator.output >> ; Example: >> ;arg_separator.output =3D "&" >> >> ; List of separator(s) used by PHP to parse input URLs into variables. >> ; PHP's default setting is "&". >> ; NOTE: Every character in this directive is considered as separator! >> ; http://php.net/arg-separator.input >> ; Example: >> ;arg_separator.input =3D ";&" >> >> >> In php-src/main/main.c /* $Id: main.c,v 1.795 2009/03/27 02:33:44 >> lbarnaud Exp $ */, lines 540-541 ... >> >> =C2=A0 =C2=A0 =C2=A0 =C2=A0STD_PHP_INI_ENTRY("arg_separator.output", =C2= =A0 =C2=A0 =C2=A0 "&", >> =C2=A0PHP_INI_ALL, =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0OnUpdateStri= ngUnempty, =C2=A0arg_separator.output, >> php_core_globals, =C2=A0 =C2=A0 =C2=A0 core_globals) >> =C2=A0 =C2=A0 =C2=A0 =C2=A0STD_PHP_INI_ENTRY("arg_separator.input", =C2= =A0 =C2=A0 =C2=A0 =C2=A0"&", >> =C2=A0PHP_INI_SYSTEM|PHP_INI_PERDIR, =C2=A0OnUpdateStringUnempty, >> =C2=A0arg_separator.input, =C2=A0 =C2=A0php_core_globals, =C2=A0 =C2=A0 = =C2=A0 core_globals) >> >> >> Why are the defaults in PHP not the same as the defaults for the INI >> files, considering both php.ini-development and php.ini-production >> both agree on the alternative setting? > > Read the comments a bit more carefully: > >> ; Example: >> ;arg_separator.input =3D ";&" > > Note the word "example" there.. > > --Jani > Oh bugger. I spent a good 10 minutes on that. --=20 ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=3DZEND002498&r=3D213474= 731 "Standing on the shoulders of some very clever giants!"