Home
last modified time | relevance | path

Searched refs:expected (Results 101 – 125 of 691) sorted by relevance

12345678910>>...28

/PHP-7.4/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-7.4/ext/standard/tests/array/
H A Deach_error.phpt21 //Test each with one more than the expected number of arguments
22 echo "\n-- Testing each() function with more than expected no. of arguments --\n";
37 -- Testing each() function with more than expected no. of arguments --
H A Darray_diff_assoc_error.phpt21 // Testing array_diff_assoc with one less than the expected number of arguments
22 echo "\n-- Testing array_diff_assoc() function with less than expected no. of arguments --\n";
37 -- Testing array_diff_assoc() function with less than expected no. of arguments --
H A Darray_map_error.phpt16 // Testing array_map with one less than the expected number of arguments
17 echo "\n-- Testing array_map() function with one less than expected no. of arguments --\n";
53 -- Testing array_map() function with one less than expected no. of arguments --
59 Exception: Too few arguments to function callback2(), 1 passed and exactly 2 expected
/PHP-7.4/ext/standard/tests/dir/
H A Dclosedir_error-win32-mb.phpt24 //Test closedir with one more than the expected number of arguments
25 echo "\n-- Testing closedir() function with more than expected no. of arguments --\n";
47 -- Testing closedir() function with more than expected no. of arguments --
/PHP-7.4/ext/posix/tests/
H A Dposix_getgrgid_error.phpt21 //Test posix_getgrgid with one more than the expected number of arguments
22 echo "\n-- Testing posix_getgrgid() function with more than expected no. of arguments --\n";
42 -- Testing posix_getgrgid() function with more than expected no. of arguments --
/PHP-7.4/Zend/tests/function_arguments/
H A Dargument_count_incorrect_userland_strict.phpt46 Too few arguments to function foo(), 0 passed in %s and exactly 1 expected
48 Too few arguments to function bar(), 1 passed in %s and exactly 2 expected
50 Too few arguments to function bat(), 1 passed in %s and exactly 2 expected
/PHP-7.4/ext/imap/tests/
H A Dimap_close_error.phpt25 //Test imap_close with one more than the expected number of arguments
26 echo "\n-- Testing imap_close() function with more than expected no. of arguments --\n";
41 -- Testing imap_close() function with more than expected no. of arguments --
/PHP-7.4/ext/standard/tests/file/
H A Dfile_get_contents_error.phpt20 echo "\n-- Testing No.of arguments less than expected --\n";
23 echo "\n-- Testing No.of arguments greater than expected --\n";
55 -- Testing No.of arguments less than expected --
59 -- Testing No.of arguments greater than expected --
H A Dreadlink_realpath_error-win32.phpt19 var_dump( readlink() ); // args < expected
20 var_dump( readlink(__FILE__, 2) ); // args > expected
32 var_dump( realpath() ); // args < expected
33 var_dump( realpath(1, 2) ); // args > expected
H A Dreadlink_realpath_error.phpt19 var_dump( readlink() ); // args < expected
20 var_dump( readlink(__FILE__, 2) ); // args > expected
32 var_dump( realpath() ); // args < expected
33 var_dump( realpath(1, 2) ); // args > expected
H A D007_variation15.phpt31 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
32 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
33 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
35 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: false
36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
H A D007_variation16.phpt31 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
32 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
33 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
35 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of the…
36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation23.phpt31 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
32 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
33 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
35 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: false
36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
H A D007_variation24.phpt31 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
32 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
33 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
35 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of the…
36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation7.phpt31 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
32 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
33 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
35 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: false
36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
H A Drealpath_error-win32.phpt16 var_dump( realpath() ); // args < expected
17 var_dump( realpath(1, 2) ); // args > expected
H A D007_variation10.phpt33 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
35 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
36 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
37 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_errorcode.phpt16 function check_error($offset, &$obj, $expected = '00000') {
19 if (($code != $expected) && (($expected != '00000') && ($code != ''))) {
21 $offset, $expected, $code);
/PHP-7.4/ext/hash/tests/
H A Dhash_file_error.phpt27 echo "\n-- Testing hash_file() function with less than expected no. of arguments --\n";
30 echo "\n-- Testing hash_file() function with more than expected no. of arguments --\n";
56 -- Testing hash_file() function with less than expected no. of arguments --
61 -- Testing hash_file() function with more than expected no. of arguments --
H A Dhash_hmac_error.phpt15 echo "\n-- Testing hash_hmac() function with less than expected no. of arguments --\n";
20 echo "\n-- Testing hash_hmac() function with more than expected no. of arguments --\n";
35 -- Testing hash_hmac() function with less than expected no. of arguments --
46 -- Testing hash_hmac() function with more than expected no. of arguments --
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_stmt_param_count.phpt30 function func_test_mysqli_stmt_param_count($stmt, $query, $expected, $offset) {
37 if ($expected !== ($tmp = mysqli_stmt_param_count($stmt)))
39 gettype($expected), $expected,
H A Dmysqli_stmt_multires.phpt53 printf("[008] No more rows expected\n");
74 printf("[012] No more rows expected\n");
84 printf("[014] No more results expected\n");
86 printf("[014] No result, as expected\n");
119 [014] No result, as expected
/PHP-7.4/ext/zlib/tests/
H A Dgzinflate_length.phpt17 if ($unpacked === false) echo "Failed (as expected)\n";
25 Failed (as expected)

Completed in 125 milliseconds

12345678910>>...28