From 3dec85eb67a770e6bf5140ea29f15f6945781bb5 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Fri, 10 Nov 2023 12:42:17 +0100 Subject: [PATCH] Fix missing variable in filestat test --- ext/standard/tests/file/file.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/tests/file/file.inc b/ext/standard/tests/file/file.inc index d4ad02a363bd5..0901069717a16 100644 --- a/ext/standard/tests/file/file.inc +++ b/ext/standard/tests/file/file.inc @@ -590,9 +590,9 @@ $all_stat_keys = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, "rdev", "size", "atime", "mtime", "ctime", "blksize", "blocks"); -$stat_time_diff_keys = array(8, 'atime'); - function compare_stats($stat1, $stat2, $fields, $op = "==", $flag = false ) { + $stat_time_diff_keys = array(8, 'atime'); + // dump the stat if requested if ( $flag == true ) { var_dump($stat1);