片道: PHP: $start = ($this->pageNo - 1) * $pageSize; $page = array_slice($data, $start, $this->pageSize); 別の方法: