I have an array of arrays, with the following structure :
array(array(\'page\' => \'page1\', \'name\' => \'pagename1\') array(\'page\' => \'pa
With array_reduce:
$names = array_reduce($array, function ($carry, $item) { return array_merge($carry, [$item['name']]); }, []);