摘要: 1.explode--使用一个字符串分割另一个字符串 如$input="hello,there";var_dump(explode(',',$input)); 结果为array([0]=>string(5) "hello" [1]=>string(5)"there"); 2.microtime--返 阅读全文
posted @ 2017-08-17 16:55 LACC6 阅读(93) 评论(0) 推荐(0)
摘要: php函数每日学习二十个 数学函数 1,abs() 求绝对值 2,ceil() 进一法取整 3,floor() 舍去法取整 4,fmod()对浮点数进行取余 例如fmod(5.7,1.3) 5,pow() 返回数的n次方 pow(1,20) 6,round() 浮点数取整 round(1.98765 阅读全文
posted @ 2017-08-16 20:15 LACC6 阅读(97) 评论(0) 推荐(0)