I have an array like this:
$arr = array('prolongar-se', 'durante, 4, 'a', 7, 'dias',
'dependendo', 'da', 'dose', 'administrada', 'e', 'do',
'pH', 'da', 'água', 'sendo', 7.5, 'ml', 'por','cada','paciente');
I would like to remove the numeric values 4
, 7
and 7.5
, and return it as follows:
$arr = array('prolongar-se', 'durante, 'a', 'dias', 'dependendo',
'da', 'dose', 'administrada', 'e', 'do', 'pH', 'da', 'água',
'sendo', 'ml', 'por','cada','paciente');
How can I remove numeric type elements from an array ?