Skip to content

Commit db8c91a

Browse files
iluuu1994ramsey
authored andcommitted
Fix undeclared variable in stat tests
Closes phpGH-12645
1 parent e1c6a7c commit db8c91a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/tests/file/file.inc

+2-2
Original file line numberDiff line numberDiff line change
@@ -590,9 +590,9 @@ $all_stat_keys = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
590590
"rdev", "size", "atime", "mtime", "ctime",
591591
"blksize", "blocks");
592592

593-
$stat_time_diff_keys = array(8, 'atime');
594-
595593
function compare_stats($stat1, $stat2, $fields, $op = "==", $flag = false ) {
594+
$stat_time_diff_keys = array(8, 'atime');
595+
596596
// dump the stat if requested
597597
if ( $flag == true ) {
598598
var_dump($stat1);

0 commit comments

Comments
 (0)