<?php
$chaves = array_map(function($item){ return $item['nome']; }, $arr);
PD9waHAKCiRhcnIgPSBhcnJheShhcnJheSgnbm9tZScgPT4gJ2Z1bGFubycpLCBhcnJheSgnbm9tZScgPT4gJ2JlbHRyYW5vJyksIGFycmF5KCdub21lJyA9PiAnZG9nZScpICk7CgoKJGNoYXZlcyA9IGFycmF5X21hcChmdW5jdGlvbigkaXRlbSl7IHJldHVybiAkaXRlbVsnbm9tZSddOyB9LCAkYXJyKTsKCiRub3ZvID0gYXJyYXlfZmlsbF9rZXlzKCRjaGF2ZXMsIDApOwoKcHJpbnRfcigkbm92byk7