Next Section: 字符串的填充与替换str_pad()和str_replace()4209 plays

5 秒后自动播放下一节
  Watch Again

Classic introduction to PHP string operations

Introduction >
ChapterCourseware
Chapter1String basics

The difference between single quotes and double quotes when declaring strings

13 minutes13 seconds

The difference and connection between the grammatical structures of heredoc and nowdoc

08 minutes07 seconds

heredoc and nowdoc initialize local variables and class attributes

08 minutes17 seconds

Detailed explanation of two syntaxes and examples of variable parsing

08 minutes18 seconds

String addition, deletion, modification and search operations

06 minutes33 seconds
Chapter2In-depth explanation of string functions

Substring processing substr and related functions

15 minutes50 seconds

String retrieval functions strpos() and strstr()

07 minutes47 seconds

String padding and replacement str_pad() and str_replace()

08 minutes35 seconds

String length statistics strlen() and mb_strlen(), mb_strwidth()

03 minutes10 seconds

Splitting and combining strings explode() and implode()

05 minutes24 seconds

Detailed explanation of character type conversion [temporary/permanent/automatic]

11 minutes51 seconds

String formatting function [Key points]

11 minutes23 seconds

String content filtering and transcoding

07 minutes43 seconds

String serialization and JSON processing [Key points]

09 minutes46 seconds
  • CancelreplySending
  • Cancelpost a noteSending