light9
5/12/2015 - 5:26 PM

Get the first element of an array

Get the first element of an array

# to map child array element without bu parent position
$data = array_values($request)[0];