Lines Matching refs:array_values
2 Test array_values() function (errors)
10 var_dump( array_values() ); // Zero arguments
11 var_dump( array_values(array(1,2,3), "") ); // No. of args > expected
13 var_dump( array_values("") ); // Empty string
14 var_dump( array_values(100) ); // Integer
15 var_dump( array_values(new stdclass) ); // object
22 Warning: array_values() expects exactly 1 parameter, 0 given in %s on line %d
25 Warning: array_values() expects exactly 1 parameter, 2 given in %s on line %d
28 Warning: array_values() expects parameter 1 to be array, string given in %s on line %d
31 Warning: array_values() expects parameter 1 to be array, integer given in %s on line %d
34 Warning: array_values() expects parameter 1 to be array, object given in %s on line %d