All pastes #759895 Raw Edit

Untitled

public text v1 · immutable
·published 2007-11-03 16:41 UTC
rendered paste body
function add_numbers($numeric_array) {
	$r = 0;
	foreach($numeric_array as $v) {
		if(is_numeric($v)) {
			$r += $v;
		}
	}
	return $r;
}