「PHP」话题下的全部文章,按时间倒序排列;右侧可继续浏览相关话题与最近更新的内容。
PHP vsprintf() 函数:把格式化字符串写入变量中:。...
PHP vprintf() 函数:输出格式化的字符串:。...
PHP vfprintf() 函数:把文本写入名为 "test.txt" 的文本文件:。...
PHP ucwords() 函数:把每个单词的首字符转换为大写:。...
PHP ucfirst() 函数:把 "hello" 的首字符转换为大写:。...
PHP trim() 函数:移除字符串两侧的字符("Hello" 中的 "He" 以及 "World" 中的 "d!"):。...
PHP substr_replace() 函数:把 "Hello" 替换成 "world":。...
PHP substr_count() 函数:计算 "Shanghai" 在字符串中出现的次数:。...
PHP substr_compare() 函数:比较两个字符串:。...
PHP substr() 函数:从字符串中返回 "world":。...