Source Code:
(back to article)
<?php $numbers = array(1, 2, 3); $new_array = array_pad($numbers, 5, 0); print_r($new_array); ?>
Result:
Report an issue