$custom_array = ['a','b','c'];
or
$custom_array = array('a','b','c');
In php array_push function used to add an element to array. Syntax of array_push is
array_push(array, var);
If you want to add 'd' to $custom_array
$element='d';
array_push($custom_array , $element);
Array ( [0] => a [1] => b [2] => c [3] => d )
If you want to remove 'b' from $custom_array use unset function:
unset($custom_array [1]);
Array ( [0] => a [2] => c )