码迷,mamicode.com
首页 > 其他好文 > 详细

2017-05-31

时间:2017-05-31 17:35:58      阅读:188      评论:0      收藏:0      [点我收藏+]

标签:source   split   xpl   函数   变量   res   upper   reg   ase   

今天的学习内容:

  变量类型函数

    is_int() is_float() is_bool() is_string() is_array() is_object() is_resource() is_null()

  字符串函数

    查找:strpos(string,查找字符串) stripos(不区分大小写) strrpos() strripos(不区分大小写)

      strstr(查找并截取后面的字符串) stristr() strrchr()

    转换:strtolower() strtoupper() ucfist()

    比较:strcasecmp() strcmp()

    分割:explode() implode() join() preg_split("/,|;/",string)

    截取:substr() 

    替换:str_replace()

2017-05-31

标签:source   split   xpl   函数   变量   res   upper   reg   ase   

原文地址:http://www.cnblogs.com/tangqiang2/p/6925039.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!