if(is_array($array) || $array instanceof Countable){ // $array 是可数的}. PHP 7.3 提供新的函数 is_countable() 来解决这个问题,该函数对数组 ...
確定! 回上一頁