I have an array of arrays, with the following structure :
array(array(\'page\' => \'page1\', \'name\' => \'pagename1\') array(\'page\' => \'pa
There is a built-in function actually, it's called array_column(...).
Here is all you need to know about it : https://www.php.net/manual/fr/function.array-column.php