RE: Why is the default value for arg_separator.output '&'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jared Williams wrote:

>> Given this, why is the default value of arg_separator.output
>> '&' and not '&'?

> URLs don't have & in them.

> The & is specific escaping for _only_ XML.

No, XML and SGML which includes XHTML and HTML. How often are PHP sessions
used to generate output for languages other then those? 

And even if you want to generate for other languages, why not set
arg_separator.output to ; instead? Its already in arg_separator.input and
doesn't need escaping to be represented in an HTML or XHTML document. The
HTML specification even goes so far as to explicitly recommend it.

-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
                     Home is where the ~/.bashrc is

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux