Blogger Information
Blog 1
fans 0
comment 0
visits 1203
Related recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
PHP数组取多少个内容
皮蛋瘦肉的博客
Original
1203 people have browsed it

PHP array_slice() 函数


定义和用法

array_slice() 函数在数组中根据条件取出一段值,并返回。

注释:如果数组有字符串键,所返回的数组将保留键名

语法

array_slice(array,start,length,preserve)


QQ浏览器截图20181105115404.png



Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post