Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 691) sorted by relevance

12345678910>>...28

/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_get_client_stats.phpt41 $field, $expected[$field], gettype($expected[$field]),
48 $field, $expected, gettype($expected),
55 $field, $expected, gettype($expected),
69 $field, $expected[$field], gettype($expected[$field]),
76 $expected, gettype($expected),
149 $expected = $info;
158 $expected['buffered_sets'] = (string)($expected['buffered_sets'] + 1);
217 $expected['buffered_sets'] = (string)($expected['buffered_sets'] + 1);
260 $expected['unbuffered_sets'] = (string)($expected['unbuffered_sets'] + 1);
285 $expected['unbuffered_sets'] = (string)($expected['unbuffered_sets'] + 1);
[all …]
H A Dbug42378.phpt87 if (!is_array($expected)) {
104 if ($result !== $expected) {
107 gettype($expected), $expected,
131 foreach ($expected as $k => $v) {
161 foreach ($expected as $k => $v)
162 $expected[$k] = number_format(round($v), 0, '.', ',');
166 foreach ($expected as $k => $v)
167 $expected[$k] = number_format(round($v), 0, '.', ',');
171 foreach ($expected as $k => $v)
172 $expected[$k] = number_format(round($v), 0, '.', ',');
[all …]
H A Dmysqli_stmt_bind_result_format.phpt85 if (!is_array($expected)) {
102 if ($result !== $expected) {
105 gettype($expected), $expected,
166 foreach ($expected as $k => $v)
171 foreach ($expected as $k => $v)
176 foreach ($expected as $k => $v)
181 foreach ($expected as $k => $v)
186 foreach ($expected as $k => $v)
191 foreach ($expected as $k => $v)
196 foreach ($expected as $k => $v)
[all …]
/PHP-7.4/ext/spl/tests/
H A Dbug55701.phpt14 echo "ran normally (expected)\n";
17 echo "ran normally (expected)\n";
297 ->count()... ran normally (expected)
298 ->rewind()... ran normally (expected)
301 ->valid()... ran normally (expected)
303 ->key()... ran normally (expected)
304 ->next()... ran normally (expected)
319 ->isDir()... ran normally (expected)
320 ->isDot()... ran normally (expected)
322 ->isFile()... ran normally (expected)
[all …]
H A Dbug54384.phpt11 echo "exception (expected)\n";
156 IteratorIterator... exception (expected)
157 FilterIterator... exception (expected)
159 ParentIterator... exception (expected)
160 LimitIterator... exception (expected)
161 CachingIterator... exception (expected)
163 NoRewindIterator... exception (expected)
164 RegexIterator... exception (expected)
166 GlobIterator... exception (expected)
167 SplFileObject... exception (expected)
[all …]
H A Dbug64023.phpt7 public function __toString() {return ' -expected- ';}
18 -expected- -expected- -expected-
19 -expected-
H A Dclass_implements_variation1.phpt119 Error: 2 - class_implements(): object or string expected, %s(%d)
123 Error: 2 - class_implements(): object or string expected, %s(%d)
127 Error: 2 - class_implements(): object or string expected, %s(%d)
131 Error: 2 - class_implements(): object or string expected, %s(%d)
135 Error: 2 - class_implements(): object or string expected, %s(%d)
139 Error: 2 - class_implements(): object or string expected, %s(%d)
143 Error: 2 - class_implements(): object or string expected, %s(%d)
147 Error: 2 - class_implements(): object or string expected, %s(%d)
151 Error: 2 - class_implements(): object or string expected, %s(%d)
155 Error: 2 - class_implements(): object or string expected, %s(%d)
[all …]
H A Dclass_uses_variation1.phpt119 Error: 2 - class_uses(): object or string expected, %s(%d)
123 Error: 2 - class_uses(): object or string expected, %s(%d)
127 Error: 2 - class_uses(): object or string expected, %s(%d)
131 Error: 2 - class_uses(): object or string expected, %s(%d)
135 Error: 2 - class_uses(): object or string expected, %s(%d)
139 Error: 2 - class_uses(): object or string expected, %s(%d)
143 Error: 2 - class_uses(): object or string expected, %s(%d)
147 Error: 2 - class_uses(): object or string expected, %s(%d)
151 Error: 2 - class_uses(): object or string expected, %s(%d)
155 Error: 2 - class_uses(): object or string expected, %s(%d)
[all …]
/PHP-7.4/ext/opcache/tests/opt/
H A Dsccp_025.phpt26 'expected' => array(6),
32 foreach ($case_data['expected'] as $data_set => $expected)
34 $test_cases[$case]['expected'][$data_set] = $expected_data_sets[$expected];
46 ["expected"]=>
/PHP-7.4/ext/standard/tests/strings/
H A Dstrncasecmp_basic.phpt13 var_dump( strncasecmp('Hello', 'Hello', 5) ); //expected: int(0)
14 var_dump( strncasecmp('Hello', 'Hi', 5) ); //expected: value < 0
15 var_dump( strncasecmp('Hi', 'Hello', 5) ); //expected: value > 0
18 var_dump( strncasecmp("Hello", "Hello", 5) ); //expected: int(0)
19 var_dump( strncasecmp("Hello", "Hi", 5) ); //expected: value < 0
20 var_dump( strncasecmp("Hi", "Hello", 5) ); //expected: value > 0
26 var_dump( strncasecmp($str, "Hello", 5) ); //expected: int(0)
27 var_dump( strncasecmp($str, "Hi", 5) ); //expected: value < 0
28 var_dump( strncasecmp("Hi", $str, 5) ); //expected: value > 0
H A Dstrncmp_basic.phpt13 var_dump( strncmp('Hello', 'Hello', 5) ); //expected: int(0)
14 var_dump( strncmp('Hello', 'Hi', 5) ); //expected: value < 0
15 var_dump( strncmp('Hi', 'Hello', 5) ); //expected: value > 0
18 var_dump( strncmp("Hello", "Hello", 5) ); //expected: int(0)
19 var_dump( strncmp("Hello", "Hi", 5) ); //expected: value < 0
20 var_dump( strncmp("Hi", "Hello", 5) ); //expected: value > 0
26 var_dump( strncmp($str, "Hello", 5) ); //expected: int(0)
27 var_dump( strncmp($str, "Hi", 5) ); //expected: value < 0
28 var_dump( strncmp("Hi", $str, 5) ); //expected: value > 0
H A Dprintf_error.phpt16 echo "\n-- Testing printf() function with less than expected no. of arguments --\n";
23 echo "\n-- Call printf with one argument less than expected --\n";
28 echo "\n-- Call printf with two argument less than expected --\n";
32 echo "\n-- Call printf with three argument less than expected --\n";
45 -- Testing printf() function with less than expected no. of arguments --
47 -- Call printf with one argument less than expected --
58 -- Call printf with two argument less than expected --
66 -- Call printf with three argument less than expected --
H A Djoin_error.phpt17 // More than expected number of arguments
18 echo "\n-- Testing join() function with more than expected no. of arguments --\n";
25 // Less than expected number of arguments
26 echo "\n-- Testing join() with less than expected no. of arguments --\n";
41 -- Testing join() function with more than expected no. of arguments --
46 -- Testing join() with less than expected no. of arguments --
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_interface.phpt17 $expected = array(
38 if (isset($expected[$method])) {
39 unset($expected[$method]);
43 unset($expected['__construct']);
47 if (!empty($expected)) {
49 var_dump($expected);
52 printf("Found more methods than expected, dumping list\n");
H A Dpdo_mysql_class_constants.phpt16 $expected = array(
34 $expected['MYSQL_ATTR_MAX_BUFFER_SIZE'] = true;
35 $expected['MYSQL_ATTR_READ_DEFAULT_FILE'] = true;
36 $expected['MYSQL_ATTR_READ_DEFAULT_GROUP'] = true;
40 $expected['MYSQL_ATTR_SERVER_PUBLIC_KEY'] = true;
43 $expected['MYSQL_ATTR_SERVER_PUBLIC_KEY'] = true;
49 $expected['MYSQL_ATTR_SERVER_PUBLIC_KEY'] = true;
75 if (isset($expected[$name])) {
76 unset($expected[$name]);
89 if (!empty($expected)) {
[all …]
/PHP-7.4/Zend/tests/
H A Dcall_user_func_008.phpt28 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
30 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
35 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
37 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
42 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
44 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
49 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
51 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
/PHP-7.4/ext/standard/tests/array/
H A Darray_multisort_variation1.phpt125 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
129 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
133 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
137 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
141 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
145 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
149 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
153 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
157 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
161 Error: 2 - array_multisort(): Argument #1 is expected to be an array or a sort flag, %sarray_multis…
[all …]
H A Darray_multisort_variation3.phpt126 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
130 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
134 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
138 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
142 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
146 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
150 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
154 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
158 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
162 Error: 2 - array_multisort(): Argument #3 is expected to be an array or a sort flag, %sarray_multis…
[all …]
H A Darray_multisort_variation2.phpt131 Error: 2 - array_multisort(): Argument #2 is expected to be an array or a sort flag, %sarray_multis…
135 Error: 2 - array_multisort(): Argument #2 is expected to be an array or a sort flag, %sarray_multis…
139 Error: 2 - array_multisort(): Argument #2 is expected to be an array or a sort flag, %sarray_multis…
143 Error: 2 - array_multisort(): Argument #2 is expected to be an array or a sort flag, %sarray_multis…
147 Error: 2 - array_multisort(): Argument #2 is expected to be an array or a sort flag, %sarray_multis…
166 Error: 2 - array_multisort(): Argument #2 is expected to be an array or a sort flag, %sarray_multis…
170 Error: 2 - array_multisort(): Argument #2 is expected to be an array or a sort flag, %sarray_multis…
174 Error: 2 - array_multisort(): Argument #2 is expected to be an array or a sort flag, %sarray_multis…
178 Error: 2 - array_multisort(): Argument #2 is expected to be an array or a sort flag, %sarray_multis…
182 Error: 2 - array_multisort(): Argument #2 is expected to be an array or a sort flag, %sarray_multis…
[all …]
/PHP-7.4/ext/standard/tests/serialize/
H A Dbug78438.phpt76 …echo "> Unserialized total node count was $count, expected $expectedSize: ".($expectedSize === $co…
86 > Unserialized total node count was 1, expected 1: CORRECT!
91 > Unserialized total node count was 4, expected 4: CORRECT!
96 > Unserialized total node count was 13, expected 13: CORRECT!
101 > Unserialized total node count was 40, expected 40: CORRECT!
106 > Unserialized total node count was 121, expected 121: CORRECT!
111 > Unserialized total node count was 364, expected 364: CORRECT!
116 > Unserialized total node count was 1093, expected 1093: CORRECT!
121 > Unserialized total node count was 3280, expected 3280: CORRECT!
/PHP-7.4/ext/gd/tests/
H A Dbug67248.phpt15 Warning: imageaffinematrixget(): Array expected as options in %s on line %d
17 Warning: imageaffinematrixget(): Array expected as options in %s on line %d
19 Warning: imageaffinematrixget(): Number is expected as option in %s on line %d
21 Warning: imageaffinematrixget(): Number is expected as option in %s on line %d
23 Warning: imageaffinematrixget(): Number is expected as option in %s on line %d
/PHP-7.4/ext/standard/tests/file/
H A Dchmod_error.phpt14 //Test chmod with one more than the expected number of arguments
15 echo "\n-- Testing chmod() function with more than expected no. of arguments --\n";
21 // Testing chmod with one less than the expected number of arguments
22 echo "\n-- Testing chmod() function with less than expected no. of arguments --\n";
35 -- Testing chmod() function with more than expected no. of arguments --
40 -- Testing chmod() function with less than expected no. of arguments --
/PHP-7.4/ext/imap/tests/
H A Dimap_fetchheader_error.phpt21 //Test imap_fetchheader with one more than the expected number of arguments
22 echo "\n-- Testing imap_fetchheader() function with more than expected no. of arguments --\n";
30 // Testing imap_fetchheader with one less than the expected number of arguments
31 echo "\n-- Testing imap_fetchheader() function with less than expected no. of arguments --\n";
40 -- Testing imap_fetchheader() function with more than expected no. of arguments --
45 -- Testing imap_fetchheader() function with less than expected no. of arguments --
/PHP-7.4/ext/pdo_oci/tests/
H A Dpdo_oci_class_constants.phpt14 $expected = [
33 if (isset($expected[$name])) {
34 unset($expected[$name]);
48 if (!empty($expected)) {
50 var_dump($expected);
/PHP-7.4/ext/standard/tests/math/
H A Dallowed_rounding_error.inc2 function allowed_rounding_error ($number, $expected) {
8 $min = $expected - $small_number;
9 $max = $expected + $small_number;

Completed in 43 milliseconds

12345678910>>...28