Abstract: The String type in PHP is String. this variable type is used for both a single character and multiple characters. To specify a string to a string variable, double quotation marks must be added at the beginning and end. for example, & amp; quot; this is a string & amp; quot ;.... In PHP, the String type is String. this variable type is used for both a single character and multiple characters. To specify a string to a string variable, double quotation marks must be added at the beginning and end. for example, "This is a string ".
When a character is used for conversion, overflow characters can be used, that is, the backslash is added with the specified symbol, for example, \ n indicates line feed, \ t indicates tab, etc, more escape characters are shown in Table 2-1.
The above is the content of the string type of the PHP Data type. For more information, see PHP Chinese network (www.php1.cn )!