- array_unshift: documentation ( source)
- print_r: documentation ( source)
- range: documentation ( source)
<?php
$maxQty = 20;
$productQtyArray = range(1, $maxQty, 1);
array_unshift($productQtyArray, "phoney");
unset($productQtyArray[0]);
print_r($productQtyArray);