Lines Matching refs:array
14 $kernel = array(
15 array(1, 0, -1),
16 array(1, 0, -1),
17 array(1, 0, -1),
32 $tests = array();
34 $tests[] = array(
36 array()
39 $tests[] = array(
41 array(0, 1, 1)
45 $tests[] = array(
47 array(
48 array(1, 0, 1),
49 array(1, 0, 1),
50 array(1, 0),
55 $tests[] = array(
57 array(
58 array(0, 1),
64 $tests[] = array(
66 array(
67 array(0, 1),
68 array(0, new StdClass),
72 $tests[] = array(
74 array(
75 array(1, 0),
107 $matrix1 = array(
108 array(1, 1, 1),
109 array(0, 0, 0),
110 array(-1, -1, -1),
123 $matrix1 = array(
124 array(1, 1),
125 array(0, 0),
127 $matrix2 = array(
128 array(0, 0),
129 array(1, 1),
131 $kernel1 = ImagickKernel::fromMatrix($matrix1, array(0, 0));
132 $kernel2 = ImagickKernel::fromMatrix($matrix2, array(0, 0));
151 $matrixIn = array(
152 array(-1, 0, -1),
153 array( 0, 8, 0),
154 array(-1, 0, -1),
168 $matrixIn = array(
169 array(1, 0),
171 $kernel = ImagickKernel::fromMatrix($matrixIn, array(1, 0));
177 $matrixIn = array(
178 array(-1, 0),
179 array( 0, 1)
181 $kernel = ImagickKernel::fromMatrix($matrixIn, array(0, 1));
187 $matrix = array(
188 array(0.0, 1.0),
189 array(0.5, false)
192 $outOfOrderMatrix = array();
198 $kernel = ImagickKernel::fromMatrix($outOfOrderMatrix, array(0, 0));