Answers for "how to cek array empty php"

PHP
16

array empty check in php

if (empty($array)) {
     // list is empty.
}
Posted by: Guest on April-15-2020
1

declare empty array in php

$emptyArray = []; 
$emptyArray = array();
$emptyArray = (array) null;
Posted by: Guest on May-25-2020

Browse Popular Code Answers by Language