Home
last modified time | relevance | path

Searched refs:expected (Results 76 – 100 of 553) sorted by relevance

12345678910>>...23

/PHP-8.2/ext/spl/tests/SplFileObject/
H A Dbug75917.phpt5 $expected = [
11 foreach ($expected as $row) {
/PHP-8.2/ext/opcache/tests/opt/
H A Dgh10801.phpt11 // Named argument case and does not do CTE as expected
13 // Will not use named arguments and do CTE as expected
/PHP-8.2/ext/standard/tests/file/
H A D007_variation10.phpt22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
24 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
25 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
26 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
H A D007_variation18.phpt22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
24 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
25 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
26 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
H A D007_variation2.phpt22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
24 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
25 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
26 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
H A Dis_dir_variation3.phpt9 echo "*** Testing is_dir() with Invalid arguments: expected bool(false) ***\n";
28 *** Testing is_dir() with Invalid arguments: expected bool(false) ***
H A Dunlink_variation1.phpt36 var_dump( unlink($filename) ); // expected false
41 var_dump( unlink($filename) ); // expected true
54 var_dump( unlink($filename) ); // expected: true
55 var_dump( file_exists($filename) ); // expected: false
H A Dfstat_variation8.phpt2 Test function fstat() by calling it with its expected arguments
15 // windows, dev and rdev will not match this is expected
H A Dunlink_variation4.phpt19 var_dump( unlink($filename) ); // expected: true
23 var_dump( unlink($filename) ); // expected: false
/PHP-8.2/Zend/tests/
H A Dbug70689.phpt2 Bug #70689 (Exception handler does not work as expected)
22 … to function foo(), 0 passed in %sbug70689.php on line 12 and exactly 1 expected in %sbug70689.php…
H A Dbug33996.phpt35 …ew arguments to function NormalTest(), 0 passed in %sbug33996.php on line 18 and exactly 1 expected
36 …o few arguments to function FooTest(), 0 passed in %sbug33996.php on line 23 and exactly 1 expected
/PHP-8.2/ext/standard/tests/strings/
H A Dsscanf_error.phpt11 echo "\n-- Testing sscanf() function with more than expected no. of arguments --\n";
22 -- Testing sscanf() function with more than expected no. of arguments --
H A Dchr_error.phpt15 echo "\n-- Testing chr() function with more than expected no. of arguments --\n";
30 -- Testing chr() function with more than expected no. of arguments --
/PHP-8.2/ext/date/tests/
H A DDateTimeZone_construct_error.phpt10 echo "\n-- Testing new DateTimeZone() with more than expected no. of arguments --\n";
23 -- Testing new DateTimeZone() with more than expected no. of arguments --
H A DDateTime_construct_error.phpt10 echo "\n-- Testing new DateTime() with more than expected no. of arguments --\n";
24 -- Testing new DateTime() with more than expected no. of arguments --
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_num_rows.phpt15 function func_test_mysqli_num_rows($link, $query, $expected, $offset, $test_free = false) {
23 if ($expected !== ($tmp = mysqli_num_rows($res)))
25 gettype($expected), $expected,
H A Dmysqli_stmt_bind_result_zerofill.phpt56 $expected = str_repeat('0', $length - strlen($insert));
57 $expected .= $insert;
58 if ($expected !== $result) {
59 printf("[%03d] Expecting '%s' got '%s'\n", $offset, $expected, $result);
/PHP-8.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_errorcode.phpt17 function check_error($offset, &$obj, $expected = '00000') {
20 if (($code != $expected) && (($expected != '00000') && ($code != ''))) {
22 $offset, $expected, $code);
H A Dpdo_mysql_errorinfo.phpt17 function check_error($offset, &$obj, $expected = '00000') {
21 if (($code != $expected) && (($expected != '00000') && ($code != ''))) {
23 $offset, $expected, $code);
26 if ($expected != '00000') {
/PHP-8.2/ext/spl/tests/
H A DSplFileInfo_getGroup_basic.phpt16 $expected = filegroup($filename);
18 var_dump($expected == $actual);
H A DSplFileInfo_getOwner_basic.phpt16 $expected = fileowner($filename);
18 var_dump($expected == $actual);
/PHP-8.2/ext/zlib/tests/
H A Dgzinflate_length.phpt17 if ($unpacked === false) echo "Failed (as expected)\n";
25 Failed (as expected)
/PHP-8.2/ext/pdo_dblib/tests/
H A Dbug_73396.phpt16 $expected = PHP_INT_SIZE == 8 ? 1 : '1';
19 var_dump($stmt->fetchColumn() === $expected);
/PHP-8.2/Zend/tests/function_arguments/
H A Dargument_count_incorrect_userland_strict.phpt47 Too few arguments to function foo(), 0 passed in %s and exactly 1 expected
49 Too few arguments to function bar(), 1 passed in %s and exactly 2 expected
51 Too few arguments to function bat(), 1 passed in %s and exactly 2 expected
/PHP-8.2/ext/pdo_oci/tests/
H A Dpdo_oci_attr_autocommit_2.phpt46 echo "Caught expected exception at line " . __LINE__ . "\n";
61 echo "Caught expected exception at line " . __LINE__ . "\n";
76 echo "Caught expected exception at line " . __LINE__ . "\n";
109 Caught expected exception at line 35
114 Caught expected exception at line %d
118 Caught expected exception at line %d

Completed in 28 milliseconds

12345678910>>...23