projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
PHP 8 compatibility
[m6w6/ext-psi]
/
tests
/
stat
/
stat001.phpt
diff --git
a/tests/stat/stat001.phpt
b/tests/stat/stat001.phpt
index 9051123c802e0510341917446d886f727432b25c..75034f1c45a3582d7646b3e3d428f5ee382210d0 100644
(file)
--- a/
tests/stat/stat001.phpt
+++ b/
tests/stat/stat001.phpt
@@
-4,7
+4,6
@@
stat
psi.directory={PWD}/../../psi.d:{PWD}
--SKIPIF--
<?php
psi.directory={PWD}/../../psi.d:{PWD}
--SKIPIF--
<?php
-extension_loaded("psi") or die("skip - need ext/psi");
PHP_OS === "Linux" or die("skip - only for Linux");
?>
--FILE--
PHP_OS === "Linux" or die("skip - only for Linux");
?>
--FILE--
@@
-16,7
+15,7
@@
var_dump(psi\stat(__FILE__, $stat), $stat);
--EXPECTF--
===TEST===
int(0)
--EXPECTF--
===TEST===
int(0)
-array(1
6
) {
+array(1
3
) {
["st_dev"]=>
int(%d)
["st_ino"]=>
["st_dev"]=>
int(%d)
["st_ino"]=>
@@
-40,8
+39,6
@@
array(16) {
["tv_nsec"]=>
int(%d)
}
["tv_nsec"]=>
int(%d)
}
- ["st_atime"]=>
- int(%d)
["st_mtim"]=>
array(2) {
["tv_sec"]=>
["st_mtim"]=>
array(2) {
["tv_sec"]=>
@@
-49,8
+46,6
@@
array(16) {
["tv_nsec"]=>
int(%d)
}
["tv_nsec"]=>
int(%d)
}
- ["st_mtime"]=>
- int(%d)
["st_ctim"]=>
array(2) {
["tv_sec"]=>
["st_ctim"]=>
array(2) {
["tv_sec"]=>
@@
-58,8
+53,6
@@
array(16) {
["tv_nsec"]=>
int(%d)
}
["tv_nsec"]=>
int(%d)
}
- ["st_ctime"]=>
- int(%d)
["st_blksize"]=>
int(%d)
["st_blocks"]=>
["st_blksize"]=>
int(%d)
["st_blocks"]=>