<? $weights = array (1, 3, 5, 10, 15, 25, 50); $weights = array_pad($weights, -10, 100); print_r($weights); ?>