The difference between single quotes and double quotes in php is very important in programming languages, both single quotes and double quotes. PHP quotes are easier to use than ASP quotes. in ASP, to substitute data into a variable, you must use
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
The difference between single and double quotation marks in PHP. 1. define a string in PHP. The definition of a string can be single quotation marks or double quotation marks. However, the same single or double quotation marks must be used to define
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. Defining Strings
In PHP, the definition of a string can use either single quotation marks or double quotes. However, you must use the same single or double quotation marks to define strings, such as: ' Hello ' and ' hello ' are illegal
Reading a lot of code sometimes uses single quotes or double quotes to implement content containing strings. In fact, variables in double quotes can be parsed simply. single quotes are absolute strings.
1. define a string
In PHP, you can use
Let's talk about the difference between single and double quotation marks in PHP and the difference between php double quotation marks. Let's talk about the difference between single and double quotation marks in PHP. in php, you can use single
Another discussion of the difference between single and double quotation marks in PHP, PHP double quotation marks the difference between the detailed
In PHP, the definition of a string can use single quotation marks ", or you can use double
1. Define a string
In PHP, you can use single quotes or double quotes to define strings. However, the same single or double quotation marks must be used to define strings. For example, 'hello' and 'hello' are invalid strings.When defining a
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
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.