PrepAway - Latest Free Exam Questions & Answers

Which function will remove the value 28 from $a?

Given the following array:
<code>
$a = array(28, 15, 77, 43);
</code>
Which function will remove the value 28 from $a?

PrepAway - Latest Free Exam Questions & Answers

A.
array_shift()

B.
array_pop()

C.
array_pull()

D.
array_unshift()

One Comment on “Which function will remove the value 28 from $a?


Leave a Reply

Your email address will not be published. Required fields are marked *