Home
last modified time | relevance | path

Searched refs:expected (Results 126 – 150 of 691) sorted by relevance

12345678910>>...28

/PHP-7.4/ext/standard/tests/file/
H A D007_variation18.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…
H A D007_variation2.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…
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 Dis_executable_error.phpt10 var_dump( is_executable() ); // args < expected no of arguments
12 var_dump( is_executable(1, 2) ); // args > expected no. of arguments
H A Dis_readable_error.phpt10 var_dump( is_readable() ); // args < expected
11 var_dump( is_readable(1, 2) ); // args > expected
H A Dftruncate_error.phpt18 echo "-- Testing ftruncate() with less than expected number of arguments --\n";
23 // arguments less than expected numbers
28 echo "-- Testing ftruncate() with more than expected number of arguments --\n";
29 // more than expected number of arguments
77 -- Testing ftruncate() with less than expected number of arguments --
85 -- Testing ftruncate() with more than expected number of arguments --
H A Dis_file_variation1.phpt27 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true
34 var_dump( is_file($file_path."/is_file_variation1.tmp") ); //expected true
40 var_dump( is_file($file_path."/is_file_variation1.tmp") ); // expected true
H A Dparse_ini_file_error.phpt17 //Test parse_ini_file with one more than the expected number of arguments
18 echo "\n-- Testing parse_ini_file() function with more than expected no. of arguments --\n";
38 -- Testing parse_ini_file() function with more than expected no. of arguments --
H A Dstat_error-win32.phpt20 var_dump( stat() ); // args < expected
21 var_dump( stat(__FILE__, 2) ); // file, args > expected
22 var_dump( stat(__DIR__, 2) ); //dir, args > expected
H A Dunlink_variation4.phpt22 var_dump( unlink($filename) ); // expected: true
26 var_dump( unlink($filename) ); // expected: false
H A Dfile_get_contents_file_put_contents_error.phpt21 echo "\n-- Testing No.of arguments less than expected --\n";
27 echo "\n-- Testing No.of arguments greater than expected --\n";
53 -- Testing No.of arguments less than expected --
61 -- Testing No.of arguments greater than expected --
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_errorinfo.phpt16 function check_error($offset, &$obj, $expected = '00000') {
20 if (($code != $expected) && (($expected != '00000') && ($code != ''))) {
22 $offset, $expected, $code);
25 if ($expected != '00000') {
/PHP-7.4/Zend/tests/
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-7.4/ext/date/tests/
H A DDateTimeZone_construct_error.phpt15 echo "\n-- Testing new DateTimeZone() with more than expected no. of arguments --\n";
29 -- Testing new DateTimeZone() with more than expected no. of arguments --
H A Dbug55253.phpt25 // Try subtracting from expected result.
29 echo $interval->format('Subtract %h hours %i minutes from expected') . "\n";
43 Subtract 2 hours 1 minutes from expected
H A DDateTime_construct_error.phpt15 echo "\n-- Testing new DateTime() with more than expected no. of arguments --\n";
30 -- Testing new DateTime() with more than expected no. of arguments --
/PHP-7.4/ext/hash/tests/
H A Dhash_hmac_file_error.phpt17 echo "\n-- Testing hash_hmac_file() function with less than expected no. of arguments --\n";
22 echo "\n-- Testing hash_hmac_file() function with more than expected no. of arguments --\n";
40 -- Testing hash_hmac_file() function with less than expected no. of arguments --
51 -- Testing hash_hmac_file() function with more than expected no. of arguments --
/PHP-7.4/ext/mysqli/tests/
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-7.4/ext/pdo_oci/tests/
H A Dpdo_oci_attr_autocommit_2.phpt44 echo "Caught expected exception at line " . __LINE__ . "\n";
59 echo "Caught expected exception at line " . __LINE__ . "\n";
74 echo "Caught expected exception at line " . __LINE__ . "\n";
107 Caught expected exception at line 35
112 Caught expected exception at line %d
116 Caught expected exception at line %d
/PHP-7.4/ext/standard/tests/strings/
H A Dstrncmp_error.phpt19 var_dump( strncmp($str1) ); //One argument, less than expected no. of args
20 var_dump( strncmp($str1, $str2) ); //Two arguments, less than expected no. of args
21 var_dump( strncmp($str1, $str2, $len, $extra_arg) ); //Four arguments, greater than expected no. o…
/PHP-7.4/ext/spl/tests/
H A DDirectoryIterator_getGroup_basic.phpt20 $expected = filegroup($dirname);
22 var_dump($expected == $actual);
H A DDirectoryIterator_getOwner_basic.phpt20 $expected = fileowner($dirname);
22 var_dump($expected == $actual);
/PHP-7.4/ext/reflection/tests/
H A Dbug42976.phpt29 Warning: Parameter 1 to C::__construct() expected to be a reference, value given in %sbug42976.php …
32 Warning: Parameter 1 to C::__construct() expected to be a reference, value given in %sbug42976.php …
/PHP-7.4/ext/standard/tests/general_functions/
H A Dbug41970.phpt16 Warning: Parameter 1 to sort() expected to be a reference, value given in %sbug41970.php on line 5
22 Warning: Parameter 1 to sort() expected to be a reference, value given in %sbug41970.php on line 7
/PHP-7.4/ext/standard/tests/network/
H A Dfsockopen_error.phpt15 echo "\n-- Testing fsockopen() function with more than expected no. of arguments --\n";
26 echo "\n-- Testing fsockopen() function with less than expected no. of arguments --\n";
52 -- Testing fsockopen() function with more than expected no. of arguments --
59 -- Testing fsockopen() function with less than expected no. of arguments --

Completed in 24 milliseconds

12345678910>>...28