What is the correct syntax for using array_push in PHP?

The correct syntax for using array_push in PHP is to pass the array variable as the first parameter, followed by the value you want to add to the array. This function will append the value to the end of the array.

<?php
$myArray = array("apple", "banana", "orange");
array_push($myArray, "grape");
print_r($myArray);
?>