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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to