<?php $page = 10; $total = 500; $results_per_page = 10; $data = compact('page', 'total', 'results_per_page');
info at phpclasses dot org