/PHP-8.2/ext/mysqli/tests/ |
H A D | mysqli_get_client_stats.phpt | 41 $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 D | mysqli_debug_control_string.phpt | 77 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 D | bug42378.phpt | 87 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 D | mysqli_stmt_bind_result_format.phpt | 85 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 D | bug55701.phpt | 14 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 D | bug54384.phpt | 11 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 D | bug64023.phpt | 7 public function __toString() {return ' -expected- ';} 19 -expected- -expected- -expected- 20 -expected-
|
/PHP-8.2/ext/standard/tests/strings/ |
H A D | strncasecmp_basic.phpt | 8 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 D | strncmp_basic.phpt | 8 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 D | printf_error.phpt | 15 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 D | bug69144.phpt | 7 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 D | sccp_025.phpt | 26 '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 D | fread_variation1.phpt | 29 // 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 D | fread_variation3-win32-mb.phpt | 31 // 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 D | fread_variation3-win32.phpt | 31 // 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 D | fread_variation3.phpt | 31 // 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 D | fread_variation4.phpt | 25 // 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 D | fread_variation2.phpt | 27 // 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 D | copy_variation11.phpt | 26 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 D | pdo_mysql_class_constants.phpt | 27 $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 D | pdo_mysql_interface.phpt | 18 $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 D | bug78438.phpt | 76 …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 D | pdo_oci_class_constants.phpt | 16 $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 D | allowed_rounding_error.inc | 2 function allowed_rounding_error ($number, $expected) { 8 $min = $expected - $small_number; 9 $max = $expected + $small_number;
|
/PHP-8.2/ext/date/tests/ |
H A D | bug73294.phpt | 11 $expected = "{$i}-{$M}-{$D} 00:00:00"; 14 if ( $expected != $result ) 16 echo "Wrong: Should have been {$expected}, was {$result}\n";
|