Question:What is the output?
<?php $array = array(10,20, 30, 40); print_r(array_pad($array,-8,0)); ?>
A [0]=> 0, [1]=> 0, [2]=> 0, [3]=> 0, [4]=> 10, [5]=> 20, [6]=> 30, [7]=> 40
B [0]=> 10, [1]=> 20, [2]=> 30, [3]=> 40, [4]=> 0, [5]=> 0, [6]=> 0, [7]=> 0
C [0]=> 10, [1]=> 20, [2]=> 0, [3]=> 0, [4]=> 0, [5]=> 0, [6]=> 30, [7]=> 40
D None
+ AnswerA
+ Report