简单教程
提交运行
代码编辑器:
<?php $a=array("red","green","blue","yellow","brown"); print_r(array_slice($a,1,2));
运行结果: