该类用于获取 php 数组下标,指定一个下标获取相邻下标。转自: http://blog.csdn.net/phpfenghuo/article/details/30991029<?php class Steps { private $all; private $count; private ……