Answers for "php check of object is empty"

PHP
0

php check if object is empty

if($users->count()==0){
					$result->errer = "not exist";
				}
Posted by: Guest on August-15-2021
0

php check of object is empty

$arr = (array)$obj;
if (!$arr) {
    // do stuff
}
Posted by: Guest on September-23-2021

Browse Popular Code Answers by Language