Lines Matching refs:array
5 /* Prototype : array array_diff(array $arr1, array $arr2 [, array ...])
8 * Source code: ext/standard/array.c
17 $array = array('a' => '1', 'b' => '2', 'c' => '3');
40 $inputs = array (
42 /*1*/ array('0' => 0, '1' => 0),
43 array("one" => 1, 'two' => 2, "three" => 1, 4 => 1),
46 /*3*/ array("float1" => 2.3333, "float2" => 2.3333),
47 array("f1" => 1.2, 'f2' => 3.33, 3 => 4.89999922839999, 'f4' => 1.2),
50 /*5*/ array(111 => "\tHello", "red" => "col\tor", 2 => "\v\fworld", 3.3 => "\tHello"),
51 array(111 => '\tHello', "red" => 'col\tor', 2 => '\v\fworld', 3.3 => '\tHello'),
52 array(1 => "hello", "heredoc" => $heredoc, $heredoc),
54 // array with object, unset variable and resource variable
55 /*8*/ array(11 => new classA(), "unset" => @$unset_var, "resource" => $fp, new classA(), $fp),
58 // loop through each sub-array of $inputs to check the behavior of array_unique()
62 var_dump( array_diff($array, $input) );
63 var_dump( array_diff($input, $array) );
74 array(3) {
82 array(2) {
89 array(1) {
93 array(0) {
96 array(3) {
104 array(2) {
111 array(3) {
119 array(4) {
130 array(3) {
138 array(4) {
149 array(3) {
157 array(4) {
168 array(3) {
176 array(3) {
185 array(3) {
193 array(5) {