今天的学习内容:

  函数

    函数名不区分大小写

    全局变量的使用  global声明或者&GLOBALS['var']

    传值传引用  funtion exchange(&$a,&$b)

  8个超全局变量

   $_get  $_post  $_REQUEST  $_FILES  $_SERVER  $_COOKIE  $_SESSION  $GLOBALS

  substr(string,start,length)截取字符串

  str_replace(search,replacement,str)替换字符串

  strpos(string,substring)字符串首个位置

 

posted on 2017-05-26 17:37  躺枪  阅读(77)  评论(0编辑  收藏  举报