- print_r: documentation ( source)
- array_filter: documentation ( source)
<?php
$options = array('label' => 'test', 'label' => '', 'label' => 'test 2');
$options = array_filter($options, function($value) { return $value['label']; });
print_r($options);