Answers for "check array object not null php"

PHP
0

php check if associative array is null

if (in_array(null, $array, true) || in_array('', $array, true)) {
    // There are null (or empty) values.
  }
Posted by: Guest on October-07-2021

Browse Popular Code Answers by Language