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

From: Date: Tue, 19 Apr 2005 23:26:53 +0000
Subject: RE: [PHP] Why is the default value for arg_separator.output '&'?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-213434@lists.php.net to get a copy of this message
> > For documents to conform to the XHTML recommendation, > ampersand characters much be encoded as &. The > documentation for PHP recognises this. The same applies to > HTML (with some exceptions that the session code will never > encounter), although the PHP documentation makes no mention of this. > > 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. Jared

« previous php.general (#213434) next »