Home
last modified time | relevance | path

Searched refs:expected (Results 51 – 75 of 691) sorted by relevance

12345678910>>...28

/PHP-7.4/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-7.4/ext/intl/tests/
H A Dbug55562.phpt8 grapheme_substr('FOK', 1, 20), // expected: OK
9 grapheme_substr('한국어', 1, 20) //expected: 국어
/PHP-7.4/ext/standard/tests/array/
H A Darray_diff_error.phpt12 * Test array_diff with less than the expected number of arguments
21 // Testing array_diff with one less than the expected number of arguments
22 echo "\n-- Testing array_diff() function with less than expected no. of arguments --\n";
36 -- Testing array_diff() function with less than expected no. of arguments --
H A Darray_intersect_key_error.phpt15 // Testing array_intersect_key with one less than the expected number of arguments
16 echo "\n-- Testing array_intersect_key() function with less than expected no. of arguments --\n";
19 // Testing array_intersect_key with one less than the expected number of arguments
27 -- Testing array_intersect_key() function with less than expected no. of arguments --
/PHP-7.4/ext/date/tests/
H A Ddate_default_timezone_set_error.phpt12 echo "\n-- Testing date_default_timezone_set() function with less than expected no. of arguments --…
15 echo "\n-- Testing date_default_timezone_set() function with more than expected no. of arguments --…
27 -- Testing date_default_timezone_set() function with less than expected no. of arguments --
32 -- Testing date_default_timezone_set() function with more than expected no. of arguments --
/PHP-7.4/ext/standard/tests/strings/
H A Dsprintf_error.phpt16 echo "\n-- Testing sprintf() function with less than expected no. of arguments --\n";
23 // with one argument less than expected
28 // with two argument less than expected
32 // with three argument less than expected
45 -- Testing sprintf() function with less than expected no. of arguments --
/PHP-7.4/ext/pcntl/tests/
H A Dpcntl_fork_basic.phpt2 Test function pcntl_fork() by calling it with its expected arguments
14 echo "*** Test by calling method or function with its expected arguments, first print the child PID…
25 *** Test by calling method or function with its expected arguments, first print the child PID and t…
/PHP-7.4/ext/standard/tests/streams/
H A Dstream_set_timeout_error.phpt13 //Test stream_set_timeout with one more than the expected number of arguments
14 echo "\n-- Testing stream_set_timeout() function with more than expected no. of arguments --\n";
32 // Testing stream_set_timeout with one less than the expected number of arguments
33 echo "\n-- Testing stream_set_timeout() function with less than expected no. of arguments --\n";
58 -- Testing stream_set_timeout() function with more than expected no. of arguments --
63 -- Testing stream_set_timeout() function with less than expected no. of arguments --
/PHP-7.4/ext/standard/tests/network/
H A Dsetcookie.phpt23 $expected = array(
41 if (($i = count($expected)) > count($headers))
43 echo "Fewer headers are being sent than expected - aborting";
54 if (current($headers) === current($expected))
61 .current($expected)
65 next($expected);
/PHP-7.4/ext/standard/tests/file/
H A D007_variation4.phpt34 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
35 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
36 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
38 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file
39 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
43 …or size of existing data file before opening the file in "w+" mode again, expected: size of content
46 …//Check for size of existing data file after opening the file in "w+" mode again, expected: 0 bytes
H A Dsymlink_link_linkinfo_is_link_basic2.phpt46 var_dump( symlink("$file_path/$dirname", $sym_linkname) ); // this works, expected true
47 // gets information about soft link created to directory; expected: true
50 // checks if link created is soft link; expected: true
57 // creating hard link to $dirname; expected: false
58 var_dump( link("$file_path/$dirname", $linkname) ); // this doesn't work, expected false
59 var_dump( linkinfo($linkname) ); // link doesn't exists as not created, expected false
60 var_dump( is_link($linkname) ); // link doesn't exists as not created, expected false
H A D007_variation11-win32-mb.phpt39 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
40 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
41 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
43 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: false
44 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
48 …or size of existing data file before opening the file in "wt" mode again, expected: size of content
51 …//Check for size of existing data file after opening the file in "wt" mode again, expected: 0 bytes
H A D007_variation11-win32.phpt39 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
40 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
41 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
43 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: false
44 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
48 …or size of existing data file before opening the file in "wt" mode again, expected: size of content
51 …//Check for size of existing data file after opening the file in "wt" mode again, expected: 0 bytes
H A D007_variation11.phpt39 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
40 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
41 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
43 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: false
44 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
48 …or size of existing data file before opening the file in "wt" mode again, expected: size of content
51 …//Check for size of existing data file after opening the file in "wt" mode again, expected: 0 bytes
H A D007_variation12-win32.phpt39 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
40 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
41 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
43 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file
44 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
48 …r size of existing data file before opening the file in "w+t" mode again, expected: size of content
51 …/Check for size of existing data file after opening the file in "w+t" mode again, expected: 0 bytes
H A D007_variation12.phpt39 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
40 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
41 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
43 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file
44 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
48 …r size of existing data file before opening the file in "w+t" mode again, expected: size of content
51 …/Check for size of existing data file after opening the file in "w+t" mode again, expected: 0 bytes
H A D007_variation19.phpt34 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
35 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
36 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
38 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: false
39 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
43 …or size of existing data file before opening the file in "wb" mode again, expected: size of content
46 …//Check for size of existing data file after opening the file in "wb" mode again, expected: 0 bytes
H A D007_variation20.phpt34 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
35 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
36 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
38 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of file
39 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
43 …r size of existing data file before opening the file in "w+b" mode again, expected: size of content
46 …/Check for size of existing data file after opening the file in "w+b" mode again, expected: 0 bytes
H A D007_variation3.phpt34 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
35 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
36 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
38 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: false
39 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
43 …for size of existing data file before opening the file in "w" mode again, expected: size of content
46 … //Check for size of existing data file after opening the file in "w" mode again, expected: 0 bytes
/PHP-7.4/ext/mbstring/tests/
H A Dbug65045.phpt12 $expected = "\xEF\xBF\xBD"."\xF0\xA4\xAD\xA2"."\xF0\xA4\xAD\xA2";
19 $expected === htmlspecialchars_decode(htmlspecialchars($str, ENT_SUBSTITUTE, 'UTF-8')),
21 $expected === mb_convert_encoding($str, 'UTF-8', 'UTF-8'),
/PHP-7.4/ext/hash/tests/
H A Dhash_error.phpt13 echo "\n-- Testing hash() function with less than expected no. of arguments --\n";
17 echo "\n-- Testing hash() function with more than expected no. of arguments --\n";
29 -- Testing hash() function with less than expected no. of arguments --
37 -- Testing hash() function with more than expected no. of arguments --
/PHP-7.4/ext/standard/tests/class_object/
H A Dproperty_exists_error.phpt18 echo "\n-- Testing property_exists() function with more than expected no. of arguments --\n";
22 echo "\n-- Testing property_exists() function with less than expected no. of arguments --\n";
33 -- Testing property_exists() function with more than expected no. of arguments --
38 -- Testing property_exists() function with less than expected no. of arguments --
/PHP-7.4/Zend/tests/type_declarations/
H A Dscalar_none.phpt28 … Caught Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expected
30 … Caught Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expected
32 … Caught Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expected
34 … Caught Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expected
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_num_fields.phpt24 function func_test_mysqli_num_fields($link, $query, $expected, $offset, $test_free = false) {
31 if ($expected !== ($tmp = mysqli_num_fields($res)))
33 gettype($expected), $expected,
/PHP-7.4/ext/opcache/tests/
H A Dbug77058.phpt15 echo "'$Nr' is expected to be 2", PHP_EOL;
22 '2' is expected to be 2

Completed in 46 milliseconds

12345678910>>...28