IntroductionIn the field of business, to customer deployment projects, three projects to be integrated together, which results in different data formats, the path of the slash and backslash caused a lot of problems.Check out this information, here
In PHP, a string is usually defined in a pair of quotation marks.Follow these steps: The code is as follows:Copy code $ Out = str_replace (array ('RN ', 'R', 'n'), '', $ out); PHP provides three methods to define strings: single quotes, double
The difference between single quotation marks and double quotes in PHP
In a programming language, both single and double quotes are important, as is the case in the PHP language. Compared to ASP, PHP quotation marks better use, in ASP, to put the
Forward Slash, also known as the left slash, the symbol is "/", the backslash is also called the right slash, the symbol is "\".
In Unix/linux, the path is delimited by a forward slash "/", such as "/home/hutaow", whereas in Windows, the path
Original address: http://wenku.baidu.com/view/3e6a238271fe910ef12df806
"The distinction and usage of single and double quotes." Now the answer is summed up, written in this small essay. The fields inside the double quotes are interpreted by the
single quotes, double quotes, and escape characters in PHP
http://blog.csdn.net/river131/article/details/9186203Category: PHP notes 2013-06-27 11:37 875 people read Comments (0) Favorites report escape characters PHP
PHP single and double quotes
1. Define String
In PHP, a string can be defined using single quotes or double quotes. However, you must use the same single or double quotes to define the string, such as: ' Hello ' and ' hello ' are illegal string definitions.
When you define
1. Single quotation mark (')
# grep Susan Phonebook
Susan Goldberg 403-212-4921
Susan Topple 212-234-2343
If we're looking for Susan Goldberg and can't use the grep Susan Goldberg Phonebook command directly, grep treats Goldberg and phonebook as
The shell can recognize 4 different types of caret symbols: single quote character ' double quote character ' backslash character \ Inverted quote character '
1. Single quotation mark (')
# grep Susan Phonebook
Susan Goldberg 403-212-4921
Susan
One, the quotation mark defines the stringIn PHP, typically a string is defined in a pair of quotation marks, such as:' I am a string in single quotes '"I am a string in double quotes" The PHP parser uses pairs of quotes to determine a string.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.