arg_separator.input / arg_separator.output and ini files.
| From: | Richard Quadling | Date: | Thu, 16 Apr 2009 15:41:20 +0000 |
| Subject: | arg_separator.input / arg_separator.output and ini files. | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-43719@lists.php.net to get a copy of this message | ||
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?
Richard.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"