Re: Suggestion for fixing Bug #40928

From: Date: Tue, 10 Jul 2007 20:51:04 +0000
Subject: Re: Suggestion for fixing Bug #40928
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-30749@lists.php.net to get a copy of this message
/en-us/ntcmds_shelloverview.mspx?mfr=true , quoting: "You can use most characters as variable values, including white space. If you use the special characters <, >, |, &, or ^, you must precede them with the escape character (^) or quotation marks." - So all special characters will be replaced with "^<char>".
I think you are not entirely correct here. What the quote means is that if you want foo&bar, you should do either "foo&bar" or foo^&bar - not replace & with "^&". -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#30749) next »