简单教程
提交运行
代码编辑器:
<?php $people = array("Peter", "Joe", "Glenn", "Cleveland"); echo current($people) . "<br>"; echo next($people) . "<br>"; echo prev($people);
运行结果: