遇到的内置函数

1.array_values():返回数组的所有值(非键名);

2.serialize() — 产生一个可存储的值的表示;

3.array_multisort():返回一个升序排列的数组;

4.floor() 函数向下舍入为最接近的整数。

5.addslashes():在每个双引号(")前添加反斜杠;

6.array_values():返回数组中所有的值(不保留键名)

7.array_merge() 把两个数组合并为一个数组:

8.lcfirst():函数把字符串中的首字符转换为小写;

9.ucfirst() 函数把字符串中的首字符转换为大写

thinkphp:

1.{$v[goods_id]|goods_thum_images=400,400}生成缩略图

猜你喜欢

转载自blog.csdn.net/lmp5023/article/details/88253371