Lines Matching refs:array_keys
2 Test array_keys() function (error conditions)
7 var_dump(array_keys(100));
8 var_dump(array_keys("string"));
9 var_dump(array_keys(new stdclass)); // object
10 var_dump(array_keys()); // Zero arguments
11 var_dump(array_keys(array(), "", TRUE, 100)); // args > expected
12 var_dump(array_keys(array(1,2,3, new stdClass => array()))); // (W)illegal offset
18 Warning: array_keys() expects parameter 1 to be array, integer given in %s on line %d
21 Warning: array_keys() expects parameter 1 to be array, string given in %s on line %d
24 Warning: array_keys() expects parameter 1 to be array, object given in %s on line %d
27 Warning: array_keys() expects at least 1 parameter, 0 given in %s on line %d
30 Warning: array_keys() expects at most 3 parameters, 4 given in %s on line %d