Skip to content

Commit

Permalink
Merge branch 'PHP-8.2' into PHP-8.3
Browse files Browse the repository at this point in the history
* PHP-8.2:
  Fix undeclared variable in stat tests
  • Loading branch information
iluuu1994 committed Nov 11, 2023
2 parents 1fb7346 + 7440a1b commit 85107c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/standard/tests/file/file.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 85107c9

Please sign in to comment.