isAssociative() public static method

Note: Empty arrays are not.
public static isAssociative ( array $array ) : boolean
$array array
return boolean
示例#1
0
文件: ArrTest.php 项目: bolt/bolt
 public function testNonArraysAreNotIndexedOrAssociative()
 {
     $this->assertFalse(Arr::isIndexed('derp'));
     $this->assertFalse(Arr::isAssociative('derp'));
 }