PHP provides a very rich self-function, some people say that PHP is a large library of functions, to some extent I agree with this point of view, and this is one of the reasons PHP is very easy to get started. When using PHP programming, when you need to implement a function, if PHP comes with such a function, it is recommended to directly use the functions provided by PHP, which is often more efficient than the function of their own to achieve the same functions. For example, if you query the existence of a $key in a php associative array $array, you can use Isset ($array [$key]) directly.
Due to the many PHP functions, there are several series, introduce the usual PHP method commonly used in programming, mainly refer to the official PHP document. This article mainly describes the string-related methods:
PHP Basic Series (i) string-related functions