The head function returns the first element in the given array:
<?php $array = [100, 200, 300];

$first = head($array);