/PHP-7.4/ext/standard/tests/file/ |
H A D | 007_variation18.phpt | 33 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 D | 007_variation2.phpt | 33 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 D | fstat_variation8.phpt | 2 Test function fstat() by calling it with its expected arguments 15 // windows, dev and rdev will not match this is expected
|
H A D | is_executable_error.phpt | 10 var_dump( is_executable() ); // args < expected no of arguments 12 var_dump( is_executable(1, 2) ); // args > expected no. of arguments
|
H A D | is_readable_error.phpt | 10 var_dump( is_readable() ); // args < expected 11 var_dump( is_readable(1, 2) ); // args > expected
|
H A D | ftruncate_error.phpt | 18 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 D | is_file_variation1.phpt | 27 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 D | parse_ini_file_error.phpt | 17 //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 D | stat_error-win32.phpt | 20 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 D | unlink_variation4.phpt | 22 var_dump( unlink($filename) ); // expected: true 26 var_dump( unlink($filename) ); // expected: false
|
H A D | file_get_contents_file_put_contents_error.phpt | 21 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 D | pdo_mysql_errorinfo.phpt | 16 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 D | bug33996.phpt | 35 …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 D | DateTimeZone_construct_error.phpt | 15 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 D | bug55253.phpt | 25 // 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 D | DateTime_construct_error.phpt | 15 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 D | hash_hmac_file_error.phpt | 17 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 D | mysqli_stmt_bind_result_zerofill.phpt | 56 $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 D | pdo_oci_attr_autocommit_2.phpt | 44 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 D | strncmp_error.phpt | 19 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 D | DirectoryIterator_getGroup_basic.phpt | 20 $expected = filegroup($dirname); 22 var_dump($expected == $actual);
|
H A D | DirectoryIterator_getOwner_basic.phpt | 20 $expected = fileowner($dirname); 22 var_dump($expected == $actual);
|
/PHP-7.4/ext/reflection/tests/ |
H A D | bug42976.phpt | 29 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 D | bug41970.phpt | 16 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 D | fsockopen_error.phpt | 15 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 --
|