Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

  1. Which in-built function will add a value to the end of an array?

  2. A.

     array_unshift()

    B.

     into_array()

    C.

     inend_array()

    D.

     array_push()

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    array_push adds a value to the end of an array, returning the total count of elementsin the array after the new value has been added.


Be The First To Comment