PHP learns scattered notes-string splits, fetch functions, and single double quotes. , Fetch double Quotes
1 string splitting--split () function and Preg_split () function
Split-using regular expressions to split strings into arrays--seemingly PHP5.
1. What is the function of magic quotes?
?The Magic quote design was designed to escape from a database or file and receive parameters from a request, with single quotes, double quotes, backslashes, and null plus a backslash, which works
0x00:php built-in filter functionPHP has built-in functions to defend against attacks and simply introduces several functions.Magic QuotesWhen turned on, all ' (single quotes), "(double quotes), \ (backslash), and NULL characters are automatically
Work in common to shell scripts, encountered a doubt, solve.A common explanation:Single-Quote String restrictions:
Any character in a single quotation mark is output as is, and the variable in the single-quote string is not valid;
A
In a project, if the magic quotes are open, all backslashes (\), single quotes ('), double quotes ("), and NULL characters are automatically escaped with a backslash, which is exactly the same as the addslashes () function. Here are four related
The best and most complete Garfield quotes
Fat Cat 21:02:15
This quote was collected for my male as "Garfield of 1/3" and arranged according to the system of "Shishuo Xinyu". I prepared the appendix at the end of the book. However, the
Mandela spent 27 years in prison, he overcame the persecution of racism with iron will and indomitable courage. When he was in prison, a white guard had persecuted Nelson Mandela, and once he mocked Nelson Mandela and said, "except for the uniform
Article Title: 50 famous quotes about linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
50. I develop for
1 string splitting--split () function and Preg_split () function
split-using Regular Expressions to split strings into arrays--seemingly PHP5.3 above deprecatedArray split (string $pattern, string $string [, int $limit])
Preg_split-separating
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.