Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43720 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65526 invoked from network); 16 Apr 2009 16:44:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Apr 2009 16:44:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@sci.fi; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jani.taskinen@sci.fi; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sci.fi from 204.13.248.71 cause and error) X-PHP-List-Original-Sender: jani.taskinen@sci.fi X-Host-Fingerprint: 204.13.248.71 mho-01-ewr.mailhop.org Received: from [204.13.248.71] ([204.13.248.71:63551] helo=mho-01-ewr.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C6/E7-24434-48067E94 for ; Thu, 16 Apr 2009 12:44:53 -0400 Received: from cs181029147.pp.htv.fi ([82.181.29.147] helo=[127.0.0.1]) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LuUhm-0005UM-3C; Thu, 16 Apr 2009 16:44:50 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 82.181.29.147 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/BFpE3Ug0PocSIwlfOucBUSVGy/fPaDx4= Message-ID: <49E76087.5060900@sci.fi> Date: Thu, 16 Apr 2009 19:44:55 +0300 Reply-To: jani.taskinen@iki.fi User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: RQuadling@googlemail.com CC: PHP internals References: <10845a340904160841n201db2edyf1ac121a40b14674@mail.gmail.com> In-Reply-To: <10845a340904160841n201db2edyf1ac121a40b14674@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] arg_separator.input / arg_separator.output and ini files. From: jani.taskinen@sci.fi (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 = "&" > > ; 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 = ";&" > > > In php-src/main/main.c /* $Id: main.c,v 1.795 2009/03/27 02:33:44 > lbarnaud Exp $ */, lines 540-541 ... > > STD_PHP_INI_ENTRY("arg_separator.output", "&", PHP_INI_ALL, OnUpdateStringUnempty, arg_separator.output, php_core_globals, core_globals) > STD_PHP_INI_ENTRY("arg_separator.input", "&", PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateStringUnempty, arg_separator.input, php_core_globals, 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 = ";&" Note the word "example" there.. --Jani