All pastes #761918 Raw Edit

Stuff

public text v1 · immutable
·published 2007-11-05 04:20 UTC
rendered paste body

function clean_array($array) {

	foreach ($array as $key => $value) {

		if ($value == NULL) {

			unset($array[$key];
			continue;
		}
	}
}