summaryrefslogtreecommitdiff
path: root/ext/standard/tests/file/file.inc
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
committerSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
commit2876046398950e59c3b3c460e67e6fec7ff2ba3c (patch)
tree33b2b8b4b859960a6446ad19d0ada1c55f9cfcda /ext/standard/tests/file/file.inc
parent3fb86b0b9e79e6a3312b694f30ee627e2e1b325c (diff)
downloadphp-git-php-5.3.0alpha2.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'.php-5.3.0alpha2
Diffstat (limited to 'ext/standard/tests/file/file.inc')
-rw-r--r--ext/standard/tests/file/file.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/standard/tests/file/file.inc b/ext/standard/tests/file/file.inc
index efb425ca42..a18fd2ceb4 100644
--- a/ext/standard/tests/file/file.inc
+++ b/ext/standard/tests/file/file.inc
@@ -7,7 +7,7 @@
delete_links() : delete links
fill_files() : fill file with specified contents
change_file_perms() : Change permission of files
- fill_buffer() : fills buffer with specified contents
+ fill_buffer() : fill buffer with specified contents
compare_self_stat() : compares the first 13 elements of the
stat with the corresponding named key values of
the same stat.
@@ -80,7 +80,7 @@ function fill_buffer(&$buffer, $fill_type, $fill_size) {
}
/*
- Function : bool fill_file(resource $file_handle, string $fill_type, string $file_size);
+ Function : bool fill_file(resource $file_handle, string $fill_type, int $file_size);
Description: Fills the file with data as specified with requested size.
$file_handle = file handle, opened with write options,
$fill_type:
@@ -638,6 +638,8 @@ function compare_stats($stat1, $stat2, $fields, $op = "==", $flag = false ) {
// if the result is false(i.e values are not as expected),
// dump the stat array so that easy to figure out the error
if ( $result == false ) {
+ echo "\n Dumping diff between stat array 1 and 2...\n";
+ var_dump(array_diff($stat1, $stat2));
echo "\n Dumping stat array 1...\n";
var_dump($stat1);
echo "\n Dumping stat array 2...\n";