Answers for "phpcheck empty array"

PHP
17

array empty check in php

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

php empty array

//To clear array you are able to simply re-instantiate it
$foo = array();

//To clear $foo from the symbol table use
unset($foo);
Posted by: Guest on July-15-2020

Browse Popular Code Answers by Language