mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
Fix undeclared variable in stat tests
Closes GH-12645
This commit is contained in:
parent
e1c6a7c4de
commit
db8c91ae9f
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
"rdev", "size", "atime", "mtime", "ctime",
|
||||||
"blksize", "blocks");
|
"blksize", "blocks");
|
||||||
|
|
||||||
|
function compare_stats($stat1, $stat2, $fields, $op = "==", $flag = false ) {
|
||||||
$stat_time_diff_keys = array(8, 'atime');
|
$stat_time_diff_keys = array(8, 'atime');
|
||||||
|
|
||||||
function compare_stats($stat1, $stat2, $fields, $op = "==", $flag = false ) {
|
|
||||||
// dump the stat if requested
|
// dump the stat if requested
|
||||||
if ( $flag == true ) {
|
if ( $flag == true ) {
|
||||||
var_dump($stat1);
|
var_dump($stat1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue