mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.3'
* PHP-8.3: Fix undeclared variable in stat tests
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user