Php functions are learned 20 times a day (the next day), and php functions are learned the next day.
1,Ucfirst() Uppercase letters of a string
2,Ucwords() Uppercase letters of a string
3. htmlentities () converts characters into html entities.
4,Htmlspecialchars() Convert pre-defined characters into html entities
5, nl2br () \ n escape as <br> label
6. strip_tags () removes html, xml, and php labels.
7. addcslashes () add characters in the backslash escape string before a specified character
8. stripcslashes () deletes the backslash added by addcslashes ().
9. quotemeta () adds a backslash before some predefined characters in the string
10, chr () returns characters from the specified ASCII Value
11, ord () returns the ASCII value of the first character of the string
12. strcasecmp () compares two strings in case-insensitive mode.
13. strcmp () compares two strings in Case sensitivity
14. strncmp () compares the first n characters of a string in Case sensitivity.
15. strncasecmp () is the first n characters in a case-insensitive comparison string.
16. strnatcmp () strnatcasecmp is case-sensitive and case-insensitive. Compare string lengths in natural order.
17. chunk_split () splits the string into small blocks.
18, strtok () Cut string
19. explode () converts a string into an Array Based on the specified characters.
20. implode () converts a one-dimensional array to a bit string.