badaze, hai trovato una soluzione che è "velocissima" 
Risultato dei test (ogni cosa è ripetuta 1'000'000 volte):
codice:
Test con array_map(): 5.0269999504089s
Test con print_r() e preg_match_all(): 41.491999864578s
Test con foreach: 1.6000001430511s
Codice dei test:
Codice PHP:
<?php
$array = [["Tables_in_database"=>"db1_arca_articoli","Table_type"=>"BASE TABLE"],["Tables_in_database"=>"db1_arca_articoli_attributo","Table_type"=>"BASE TABLE"],["Tables_in_database"=>"db1_arca_articoli_categoria","Table_type"=>"BASE TABLE"],["Tables_in_database"=>"sop2_opz_pro","Table_type"=>"BASE TABLE"]];
echo "Test con array_map(): ";
$start = microtime(true);
$i = 1000000; // 1'000'000
while ($i--) {
array_map(function($el) {
return $el["Tables_in_database"];
}, $array);
}
echo microtime(true) - $start . "s\n";
echo "Test con print_r() e preg_match_all(): ";
$start = microtime(true);
$i = 1000000; // 1'000'000
while ($i--) {
$pattern = "/\[Tables_in_database\]\s\=\>(.*)\n/";
$string = print_r($array, true);
preg_match_all($pattern, $string, $result);
}
echo microtime(true) - $start . "s\n";
echo "Test con foreach: ";
$start = microtime(true);
$i = 1000000; // 1'000'000
while ($i--) {
$result = [];
foreach ($array as $arr) {
$result[] = $arr["Tables_in_database"];
}
}
echo microtime(true) - $start . "s\n";