Home
last modified time | relevance | path

Searched refs:expected (Results 26 – 50 of 553) sorted by relevance

12345678910>>...23

/PHP-8.2/ext/standard/tests/array/
H A Darray_walk_error2.phpt19 // expected: Missing argument Warning
31 // expected: Warning is suppressed
54 Exception: Too few arguments to function callback1(), 2 passed and exactly 3 expected
55 Exception: Too few arguments to function callback2(), 3 passed and exactly 4 expected
56 Exception: Too few arguments to function callback1(), 2 passed and exactly 3 expected
57 Exception: Too few arguments to function callback2(), 3 passed and exactly 4 expected
H A Darray_walk_recursive_error2.phpt19 // expected: Missing argument Warning
31 // expected: Warning is suppressed
54 Exception: Too few arguments to function callback1(), 2 passed and exactly 3 expected
55 Exception: Too few arguments to function callback2(), 3 passed and exactly 4 expected
56 Exception: Too few arguments to function callback1(), 2 passed and exactly 3 expected
57 Exception: Too few arguments to function callback2(), 3 passed and exactly 4 expected
H A Darray_diff_uassoc_error.phpt22 //Test array_diff_uassoc with one more than the expected number of arguments
23 echo "\n-- Testing array_diff_uassoc() function with more than expected no. of arguments --\n";
35 // Testing array_diff_uassoc with one less than the expected number of arguments
36 echo "\n-- Testing array_diff_uassoc() function with less than expected no. of arguments --\n";
47 -- Testing array_diff_uassoc() function with more than expected no. of arguments --
51 -- Testing array_diff_uassoc() function with less than expected no. of arguments --
H A Dkey_exists_basic.phpt2 Test function key_exists() by calling it with its expected arguments
8 echo "*** test key_exists() by calling it with its expected arguments ***\n";
14 *** test key_exists() by calling it with its expected arguments ***
H A Dkey_exists_variation1.phpt2 Test function key_exists() by calling it with its expected arguments
8 echo "*** test key_exists() by calling it with its expected arguments ***\n";
14 *** test key_exists() by calling it with its expected arguments ***
/PHP-8.2/ext/posix/tests/
H A Dposix_errno_basic.phpt2 Test function posix_errno() by calling it with its expected arguments
12 echo "*** Test by calling method or function with its expected arguments ***\n";
19 *** Test by calling method or function with its expected arguments ***
H A Dposix_setgid_basic.phpt2 Test function posix_setgid() by calling it with its expected arguments
13 echo "*** Test by calling method or function with its expected arguments ***\n";
21 *** Test by calling method or function with its expected arguments ***
/PHP-8.2/ext/standard/tests/file/
H A Dsymlink_link_linkinfo_is_link_basic2.phpt33 var_dump( symlink("$file_path/$dirname", $sym_linkname) ); // this works, expected true
34 // gets information about soft link created to directory; expected: true
37 // checks if link created is soft link; expected: true
44 // creating hard link to $dirname; expected: false
45 var_dump( link("$file_path/$dirname", $linkname) ); // this doesn't work, expected false
46 var_dump( linkinfo($linkname) ); // link doesn't exists as not created, expected false
47 var_dump( is_link($linkname) ); // link doesn't exists as not created, expected false
H A D007_variation4.phpt23 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
24 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
25 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
27 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file
28 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
32 …or size of existing data file before opening the file in "w+" mode again, expected: size of content
35 …//Check for size of existing data file after opening the file in "w+" mode again, expected: 0 bytes
H A D007_variation11-win32-mb.phpt28 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
29 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
30 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
32 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: false
33 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
37 …or size of existing data file before opening the file in "wt" mode again, expected: size of content
40 …//Check for size of existing data file after opening the file in "wt" mode again, expected: 0 bytes
H A D007_variation12-win32.phpt28 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
29 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
30 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
32 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file
33 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
37 …r size of existing data file before opening the file in "w+t" mode again, expected: size of content
40 …/Check for size of existing data file after opening the file in "w+t" mode again, expected: 0 bytes
H A D007_variation12.phpt28 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
29 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
30 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
32 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file
33 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
37 …r size of existing data file before opening the file in "w+t" mode again, expected: size of content
40 …/Check for size of existing data file after opening the file in "w+t" mode again, expected: 0 bytes
/PHP-8.2/ext/standard/tests/general_functions/
H A Dget_cfg_var_basic.phpt2 Test function get_cfg_var() by calling it with its expected arguments
14 echo "*** Test by calling method or function with its expected arguments ***\n";
21 *** Test by calling method or function with its expected arguments ***
/PHP-8.2/ext/standard/tests/strings/
H A Djoin_error.phpt7 // Less than expected number of arguments
8 echo "\n-- Testing join() with less than expected no. of arguments --\n";
22 -- Testing join() with less than expected no. of arguments --
/PHP-8.2/Zend/tests/function_arguments/
H A Dargument_count_incorrect_userland.phpt39 Too few arguments to function foo(), 0 passed in %s and exactly 1 expected
41 Too few arguments to function bar(), 1 passed in %s and exactly 2 expected
43 Too few arguments to function bat(), 1 passed in %s and exactly 2 expected
45 Too few arguments to function bat(), 1 passed in %s and exactly 2 expected
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_num_fields.phpt15 function func_test_mysqli_num_fields($link, $query, $expected, $offset, $test_free = false) {
22 if ($expected !== ($tmp = mysqli_num_fields($res)))
24 gettype($expected), $expected,
H A Dmysqli_stmt_param_count.phpt24 function func_test_mysqli_stmt_param_count($stmt, $query, $expected, $offset) {
31 if ($expected !== ($tmp = mysqli_stmt_param_count($stmt)))
33 gettype($expected), $expected,
/PHP-8.2/ext/gd/tests/
H A Dimagecopyresampled_variation1.phpt48 /* test for expected component values */
50 printf("red: expected roughly %d, got %d\n", EXP_RED, $red);
53 printf("green: expected roughly %d, got %d\n", EXP_GREEN, $green);
56 printf("blue: expected roughly %d, got %d\n", EXP_BLUE, $blue);
59 printf("alpha: expected roughly %d, got %d\n", EXP_ALPHA, $alpha);
H A Dfunc.inc81 echo "The expected image does not exist.\n";
86 $expected = imagecreatefrompng($filename);
87 $expected = test_to_truecolor($expected);
88 $exp_x = imagesx($expected);
89 $exp_y = imagesy($expected);
93 echo "The image size differs: expected {$exp_x}x{$exp_y}, got {$act_x}x{$act_y}.\n";
100 $exp_c = imagecolorat($expected, $x, $y);
/PHP-8.2/ext/intl/tests/
H A Dcollator_get_error_code.phpt14 * Check if error code equals to expected one.
16 function check_rc( $rc, $expected )
18 return ( $rc === $expected ? "ok" : "failed" ) . "\n";
H A Dbug75317.phpt12 function printResult($actual, $expected) {
13 var_dump($actual === $expected ? true : "expected: $expected, actual: $actual");
H A Dbug55562.phpt8 grapheme_substr('FOK', 1, 20), // expected: OK
9 grapheme_substr('한국어', 1, 20) //expected: 국어
/PHP-8.2/Zend/tests/closures/
H A Dclosure_from_callable_error.phpt14 //This is the expected outcome.
27 //This is the expected outcome.
39 //This is the expected outcome.
51 //This is the expected outcome.
63 //This is the expected outcome.
75 //This is the expected outcome.
87 //This is the expected outcome.
99 //This is the expected outcome.
111 //This is the expected outcome.
123 //This is the expected outcome.
[all …]
/PHP-8.2/ext/pcntl/tests/
H A Dpcntl_fork_basic.phpt2 Test function pcntl_fork() by calling it with its expected arguments
12 echo "*** Test by calling method or function with its expected arguments, first print the child PID…
23 *** Test by calling method or function with its expected arguments, first print the child PID and t…
/PHP-8.2/ext/pdo/tests/
H A Dbug_72788.phpt23 echo "Statement failed as expected\n";
32 Statement failed as expected
33 Statement failed as expected

Completed in 32 milliseconds

12345678910>>...23