运行 ❯
获取自己的
PHP
服务器
×
更改方向
更改主题,深浅
转到 Spaces
<!DOCTYPE html> <html> <body> <?php $people = array("Peter", "Joe", "Glenn", "Cleveland"); echo current($people) . "<br>"; echo next($people) . "<br>"; echo prev($people); ?> </body> </html>
Peter
Joe
Peter