PHP - Arrays
Which of the following is the correct syntax to add an element 'apple' to the array
$fruits using array_push?$fruits using array_push?array_push(array, value1, value2, ...), where the first argument is the array variable.array_push($fruits, 'apple');. Others misuse argument order or syntax.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions