Introduced is_filled_array() + added some missing array initialization

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Haeder 2016-03-01 14:33:54 +01:00
parent 95643c1ca2
commit 476d904c10
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -2202,3 +2202,7 @@ function argv($x) {
return '';
}
function is_filled_array ($array) {
return (is_array($array) && count($array) > 0);
}