I am terrible with manipulating arrays...given this structure I want to remove the top level array and merge all subsets into one flat array:
Array
(
[0]
You can use RecursiveArrayIterator
$it = new RecursiveIteratorIterator(new RecursiveArrayIterator($data));
$list = iterator_to_array($it,false);
var_dump($list);
Output
array (size=4)
0 => string 'hey.com' (length=7)
1 => string 'you.com' (length=7)
2 => string 'this.com' (length=8)
3 => string 'rocks.com' (length=9)
See Simple Demo