Mutable Function | Laravel Array Helper Function: array_set
This function affects the original $array . Which would produce a familiar looking array: 1 array( 1 ) { 2 [ " person " ] array(2) { 3 [ " first_name " ] " Jane " 4 [ " last_name " ] " Doe " 5 } 6 } Overwriting the value of first_name is also easy...