Home
last modified time | relevance | path

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

12345678910>>...23

/PHP-8.2/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),
145 $expected = $info;
154 $expected['buffered_sets'] = (string)($expected['buffered_sets'] + 1);
213 $expected['buffered_sets'] = (string)($expected['buffered_sets'] + 1);
256 $expected['unbuffered_sets'] = (string)($expected['unbuffered_sets'] + 1);
281 $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 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-8.2/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-8.2/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 --
H A Dbug69144.phpt7 foreach ($tests as $input => $expected) {
8 if ($expected !== ($actual = strtr($input, array("fo" => "", "foobar" => "", "bar" => "")))) {
9 echo "KO `$input` became `$actual` instead of `$expected`\n";
/PHP-8.2/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-8.2/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-8.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_class_constants.phpt27 $expected = array(
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.phpt18 $expected = array(
39 if (isset($expected[$method])) {
40 unset($expected[$method]);
44 unset($expected['__construct']);
48 if (!empty($expected)) {
50 var_dump($expected);
53 printf("Found more methods than expected, dumping list\n");
/PHP-8.2/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-8.2/ext/pdo_oci/tests/
H A Dpdo_oci_class_constants.phpt16 $expected = [
36 if (isset($expected[$name])) {
37 unset($expected[$name]);
51 if (!empty($expected)) {
53 var_dump($expected);
/PHP-8.2/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;
/PHP-8.2/ext/date/tests/
H A Dbug73294.phpt11 $expected = "{$i}-{$M}-{$D} 00:00:00";
14 if ( $expected != $result )
16 echo "Wrong: Should have been {$expected}, was {$result}\n";

Completed in 59 milliseconds

12345678910>>...23