Home
last modified time | relevance | path

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

12345678910>>...21

/php-src/ext/mysqli/tests/
H A Dmysqli_get_client_stats.phpt38 $field, $expected[$field], gettype($expected[$field]),
45 $field, $expected, gettype($expected),
52 $field, $expected, gettype($expected),
66 $field, $expected[$field], gettype($expected[$field]),
73 $expected, gettype($expected),
141 $expected = $info;
150 $expected['buffered_sets'] = (string)($expected['buffered_sets'] + 1);
209 $expected['buffered_sets'] = (string)($expected['buffered_sets'] + 1);
252 $expected['unbuffered_sets'] = (string)($expected['unbuffered_sets'] + 1);
277 $expected['unbuffered_sets'] = (string)($expected['unbuffered_sets'] + 1);
[all …]
H A Dmysqli_debug_control_string.phpt77 Warning: mysqli_debug(): Colon expected, 'b' found in %s on line %d
79 Warning: mysqli_debug(): Colon expected, 'c' found in %s on line %d
81 Warning: mysqli_debug(): Colon expected, 'B' found in %s on line %d
83 Warning: mysqli_debug(): Colon expected, 'C' found in %s on line %d
85 Warning: mysqli_debug(): Colon expected, ',' found in %s on line %d
87 Warning: mysqli_debug(): Colon expected, '1' found in %s on line %d
89 Warning: mysqli_debug(): Colon expected, '2' found in %s on line %d
91 Warning: mysqli_debug(): Colon expected, '3' found in %s on line %d
95 Warning: mysqli_debug(): Colon expected, 'B' found in %s on line %d
97 Warning: mysqli_debug(): Colon expected, 'C' found in %s on line %d
[all …]
H A Dgh15432.phpt24 $expected = '00000040000040400000a040';
33 if($value !== $expected) {
35 gettype($expected), $expected,
42 if($value !== $expected) {
44 gettype($expected), $expected,
49 $expected = '[2.00000e+00,3.00000e+00,5.00000e+00]';
51 if($result !== $expected) {
53 gettype($expected), $expected,
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-src/Zend/
H A Dzend_atomic.h108 if (prev == *expected) { in zend_atomic_bool_compare_exchange_ex()
111 *expected = prev; in zend_atomic_bool_compare_exchange_ex()
118 if (prev == *expected) { in zend_atomic_int_compare_exchange_ex()
121 *expected = prev; in zend_atomic_int_compare_exchange_ex()
265 if (prev == *expected) {
268 *expected = prev;
275 if (prev == *expected) {
278 *expected = prev;
325 if (prev == *expected) {
329 *expected = prev;
[all …]
H A Dzend_atomic.c42 ZEND_API bool zend_atomic_bool_compare_exchange(zend_atomic_bool *obj, bool *expected, bool desired) in zend_atomic_bool_compare_exchange() argument
44 return zend_atomic_bool_compare_exchange_ex(obj, expected, desired); in zend_atomic_bool_compare_exchange()
47 ZEND_API bool zend_atomic_int_compare_exchange(zend_atomic_int *obj, int *expected, int desired) in zend_atomic_int_compare_exchange() argument
49 return zend_atomic_int_compare_exchange_ex(obj, expected, desired); in zend_atomic_int_compare_exchange()
/php-src/ext/spl/tests/
H A Dbug55701.phpt14 echo "ran normally (expected)\n";
17 echo "ran normally (expected)\n";
31 echo "threw Error (expected)\n";
298 ->count()... ran normally (expected)
299 ->rewind()... ran normally (expected)
302 ->valid()... ran normally (expected)
304 ->key()... ran normally (expected)
305 ->next()... ran normally (expected)
320 ->isDir()... ran normally (expected)
321 ->isDot()... ran normally (expected)
[all …]
H A Dbug54384.phpt11 echo "Error (expected)\n";
157 IteratorIterator... Error (expected)
158 FilterIterator... Error (expected)
160 ParentIterator... Error (expected)
161 LimitIterator... Error (expected)
162 CachingIterator... Error (expected)
164 NoRewindIterator... Error (expected)
165 RegexIterator... Error (expected)
167 GlobIterator... Error (expected)
168 SplFileObject... Error (expected)
[all …]
H A Dbug64023.phpt7 public function __toString() {return ' -expected- ';}
19 -expected- -expected- -expected-
20 -expected-
/php-src/ext/standard/tests/strings/
H A Dstrncasecmp_basic.phpt8 var_dump( strncasecmp('Hello', 'Hello', 5) ); //expected: int(0)
9 var_dump( strncasecmp('Hello', 'Hi', 5) ); //expected: value < 0
10 var_dump( strncasecmp('Hi', 'Hello', 5) ); //expected: value > 0
13 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
21 var_dump( strncasecmp($str, "Hello", 5) ); //expected: int(0)
22 var_dump( strncasecmp($str, "Hi", 5) ); //expected: value < 0
23 var_dump( strncasecmp("Hi", $str, 5) ); //expected: value > 0
H A Dstrncmp_basic.phpt8 var_dump( strncmp('Hello', 'Hello', 5) ); //expected: int(0)
9 var_dump( strncmp('Hello', 'Hi', 5) ); //expected: value < 0
10 var_dump( strncmp('Hi', 'Hello', 5) ); //expected: value > 0
13 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
21 var_dump( strncmp($str, "Hello", 5) ); //expected: int(0)
22 var_dump( strncmp($str, "Hi", 5) ); //expected: value < 0
23 var_dump( strncmp("Hi", $str, 5) ); //expected: value > 0
H A Dprintf_error.phpt15 echo "\n-- Testing printf() function with less than expected no. of arguments --\n";
22 echo "\n-- Call printf with one argument less than expected --\n";
39 echo "\n-- Call printf with two argument less than expected --\n";
51 echo "\n-- Call printf with three argument less than expected --\n";
65 -- Testing printf() function with less than expected no. of arguments --
67 -- Call printf with one argument less than expected --
72 -- Call printf with two argument less than expected --
76 -- Call printf with three argument less than expected --
/php-src/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-src/ext/standard/tests/file/
H A Dfread_variation1.phpt29 // check if data read is of expected size
104 -- Reading entire file content, expected : 1024 bytes --
119 -- Reading entire file content, expected : 1024 bytes --
134 -- Reading entire file content, expected : 1024 bytes --
149 -- Reading entire file content, expected : 1024 bytes --
164 -- Reading entire file content, expected : 1024 bytes --
179 -- Reading entire file content, expected : 1024 bytes --
194 -- Reading entire file content, expected : 1024 bytes --
209 -- Reading entire file content, expected : 1024 bytes --
224 -- Reading entire file content, expected : 1024 bytes --
[all …]
H A Dfread_variation3-win32-mb.phpt31 // check if data read is of expected size
109 -- Reading beyond filesize, expected : 1024 bytes --
123 -- Reading beyond filesize, expected : 1024 bytes --
137 -- Reading beyond filesize, expected : 1024 bytes --
151 -- Reading beyond filesize, expected : 1024 bytes --
165 -- Reading beyond filesize, expected : 1024 bytes --
179 -- Reading beyond filesize, expected : 1024 bytes --
193 -- Reading beyond filesize, expected : 1024 bytes --
207 -- Reading beyond filesize, expected : 1024 bytes --
221 -- Reading beyond filesize, expected : 1024 bytes --
[all …]
H A Dfread_variation3-win32.phpt31 // check if data read is of expected size
109 -- Reading beyond filesize, expected : 1024 bytes --
123 -- Reading beyond filesize, expected : 1024 bytes --
137 -- Reading beyond filesize, expected : 1024 bytes --
151 -- Reading beyond filesize, expected : 1024 bytes --
165 -- Reading beyond filesize, expected : 1024 bytes --
179 -- Reading beyond filesize, expected : 1024 bytes --
193 -- Reading beyond filesize, expected : 1024 bytes --
207 -- Reading beyond filesize, expected : 1024 bytes --
221 -- Reading beyond filesize, expected : 1024 bytes --
[all …]
H A Dfread_variation3.phpt31 // check if data read is of expected size
109 -- Reading beyond filesize, expected : 1024 bytes --
123 -- Reading beyond filesize, expected : 1024 bytes --
137 -- Reading beyond filesize, expected : 1024 bytes --
151 -- Reading beyond filesize, expected : 1024 bytes --
165 -- Reading beyond filesize, expected : 1024 bytes --
179 -- Reading beyond filesize, expected : 1024 bytes --
193 -- Reading beyond filesize, expected : 1024 bytes --
207 -- Reading beyond filesize, expected : 1024 bytes --
221 -- Reading beyond filesize, expected : 1024 bytes --
[all …]
H A Dfread_variation4.phpt25 // check if data read is of expected size
101 -- Reading beyond filesize, expected : 1024 bytes --
118 -- Reading beyond filesize, expected : 1024 bytes --
135 -- Reading beyond filesize, expected : 1024 bytes --
152 -- Reading beyond filesize, expected : 1024 bytes --
169 -- Reading beyond filesize, expected : 1024 bytes --
186 -- Reading beyond filesize, expected : 1024 bytes --
203 -- Reading beyond filesize, expected : 1024 bytes --
220 -- Reading beyond filesize, expected : 1024 bytes --
237 -- Reading beyond filesize, expected : 1024 bytes --
[all …]
H A Dfread_variation2.phpt27 // check if data read is of expected size
103 -- Reading entire file content, expected : 0 bytes --
122 -- Reading entire file content, expected : 0 bytes --
141 -- Reading entire file content, expected : 0 bytes --
160 -- Reading entire file content, expected : 0 bytes --
179 -- Reading entire file content, expected : 0 bytes --
198 -- Reading entire file content, expected : 0 bytes --
217 -- Reading entire file content, expected : 0 bytes --
236 -- Reading entire file content, expected : 0 bytes --
255 -- Reading entire file content, expected : 0 bytes --
[all …]
H A Dcopy_variation11.phpt26 var_dump( copy($file, $dir) ); //expected: bool(false)
28 var_dump( file_exists($file) ); //expected: bool(true)
29 var_dump( file_exists($dir) ); //expected: bool(true)
31 var_dump( is_file($file) ); //expected: bool(true)
32 var_dump( is_dir($file) ); //expected: bool(false)
34 var_dump( is_file($dir) ); //expected: bool(false)
35 var_dump( is_dir($dir) ); //expected: bool(true)
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql_class_constants.phpt27 $expected = [
44 $expected['MYSQL_ATTR_MAX_BUFFER_SIZE'] = true;
45 $expected['MYSQL_ATTR_READ_DEFAULT_FILE'] = true;
46 $expected['MYSQL_ATTR_READ_DEFAULT_GROUP'] = true;
51 $expected['MYSQL_ATTR_SERVER_PUBLIC_KEY'] = true;
53 $expected['MYSQL_ATTR_SERVER_PUBLIC_KEY'] = true;
57 $expected['MYSQL_ATTR_LOCAL_INFILE_DIRECTORY'] = true;
83 if (isset($expected[$name])) {
84 unset($expected[$name]);
97 if (!empty($expected)) {
[all …]
H A Dpdo_mysql_interface.phpt15 $expected = [
37 if (isset($expected[$method])) {
38 unset($expected[$method]);
42 unset($expected['__construct']);
46 if (!empty($expected)) {
48 var_dump($expected);
51 printf("Found more methods than expected, dumping list\n");
/php-src/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-src/ext/standard/tests/mail/
H A Dbug80751.phpt52 echo "Return-Path is as expected.\n";
56 echo "Cc header is as expected.\n\n";
73 Return-Path is as expected.
74 Cc header is as expected.
77 Return-Path is as expected.
78 Cc header is as expected.
81 Return-Path is as expected.
82 Cc header is as expected.

Completed in 141 milliseconds

12345678910>>...21