Home
last modified time | relevance | path

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

12345678910>>...23

/PHP-8.2/ext/standard/tests/file/
H A D007_variation11-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; 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_variation11.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_variation19.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; fails; expected: false
28 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
32 …or size of existing data file before opening the file in "wb" mode again, expected: size of content
35 …//Check for size of existing data file after opening the file in "wb" mode again, expected: 0 bytes
H A D007_variation20.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 …r size of existing data file before opening the file in "w+b" mode again, expected: size of content
35 …/Check for size of existing data file after opening the file in "w+b" mode again, expected: 0 bytes
H A D007_variation3.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; fails; expected: false
28 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
32 …for 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 Dunlink_variation3.phpt27 var_dump( symlink($filename, $linkname) ); // expected: true
29 var_dump( unlink($linkname) ); // expected: true
34 var_dump( link($filename, $linkname) ); // expected: true
36 var_dump( unlink($linkname) ); // expected: true
H A Dis_file_variation1.phpt13 fwrite( $file_handle, "Hello, world....." ); // expected true
22 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true
29 var_dump( is_file($file_path."/is_file_variation1.tmp") ); //expected true
35 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true
H A D007_variation8.phpt20 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
21 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
22 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
24 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of the…
25 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A Dparse_ini_file_error.phpt7 //Test parse_ini_file with one more than the expected number of arguments
8 echo "\n-- Testing parse_ini_file() function with more than expected no. of arguments --\n";
23 -- Testing parse_ini_file() function with more than expected no. of arguments --
H A D007_variation15.phpt29 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
30 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
31 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
33 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: false
34 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
H A D007_variation16.phpt20 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
21 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
22 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
24 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of the…
25 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation23.phpt20 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
21 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
22 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
24 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: false
25 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
H A D007_variation24.phpt20 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
21 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
22 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
24 var_dump( fread($file_handle, 100) ); //Check for read operation; passes; expected: content of the…
25 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation7.phpt20 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
21 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
22 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
24 var_dump( fread($file_handle, 100) ); //Check for read operation; fails; expected: false
25 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
/PHP-8.2/ext/standard/tests/strings/
H A Dsprintf_error.phpt15 echo "\n-- Testing sprintf() function with less than expected no. of arguments --\n";
22 // with one argument less than expected
39 // with two argument less than expected
51 // with three argument less than expected
78 -- Testing sprintf() function with less than expected no. of arguments --
H A Dvfprintf_error1.phpt2 Test vfprintf() function : error conditions (more than expected arguments)
13 echo "\n-- Testing vfprintf() function with more than expected no. of arguments --\n";
40 -- Testing vfprintf() function with more than expected no. of arguments --
/PHP-8.2/Zend/tests/type_declarations/
H A Dscalar_none.phpt29 … Caught Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expected
31 … Caught Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expected
33 … Caught Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expected
35 … Caught Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expected
/PHP-8.2/ext/standard/tests/array/
H A Darray_map_error.phpt7 // Testing array_map with one less than the expected number of arguments
8 echo "\n-- Testing array_map() function with one less than expected no. of arguments --\n";
39 -- Testing array_map() function with one less than expected no. of arguments --
43 Exception: Too few arguments to function callback2(), 1 passed and exactly 2 expected
/PHP-8.2/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";
56 if ($header === current($expected)) {
60 .current($expected)
64 next($expected);
/PHP-8.2/ext/opcache/tests/
H A Dbug77058.phpt15 echo "'$Nr' is expected to be 2", PHP_EOL;
22 '2' is expected to be 2
/PHP-8.2/ext/json/tests/
H A Dbug73113.phpt11 throw new \Exception('This error is expected');
23 This error is expected
/PHP-8.2/tests/output/
H A Dbug60768.phpt18 printf("Output size: %d, expected %d\n", strlen($storage), 20 + 10 * 10);
23 Output size: 120, expected 120
/PHP-8.2/ext/spl/tests/
H A Dbug73629.phpt14 echo 'expected exception: ' . $e->getMessage() . "\n";
18 expected exception: Iterators' LIFO/FIFO modes for SplStack/SplQueue objects are frozen
/PHP-8.2/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_zerofill.phpt42 $expected = str_repeat('0', $length - strlen($insert));
43 $expected .= $insert;
44 if ($expected !== $row['zero']) {
45 printf("[%03d] Expecting '%s' got '%s'\n", $offset, $expected, $row['zero']);
H A Dmysqli_stmt_multires.phpt49 printf("[008] No more rows expected\n");
70 printf("[012] No more rows expected\n");
80 printf("[014] No more results expected\n");
82 printf("[014] No result, as expected\n");
115 [014] No result, as expected

Completed in 41 milliseconds

12345678910>>...23