From 476d904c109bfd35902bd299416f17ec862dc64a Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 1 Mar 2016 14:33:54 +0100 Subject: [PATCH] Introduced is_filled_array() + added some missing array initialization Signed-off-by: Roland Haeder --- boot.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boot.php b/boot.php index 108d8d0ed..57d1c7768 100644 --- a/boot.php +++ b/boot.php @@ -2202,3 +2202,7 @@ function argv($x) { return ''; } + +function is_filled_array ($array) { + return (is_array($array) && count($array) > 0); +}