PHP 8 compatibility
[m6w6/ext-psi] / tests / stat / stat001.phpt
index 9051123c802e0510341917446d886f727432b25c..75034f1c45a3582d7646b3e3d428f5ee382210d0 100644 (file)
@@ -4,7 +4,6 @@ stat
 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--
@@ -16,7 +15,7 @@ var_dump(psi\stat(__FILE__, $stat), $stat);
 --EXPECTF--
 ===TEST===
 int(0)
-array(16) {
+array(13) {
   ["st_dev"]=>
   int(%d)
   ["st_ino"]=>
@@ -40,8 +39,6 @@ array(16) {
     ["tv_nsec"]=>
     int(%d)
   }
-  ["st_atime"]=>
-  int(%d)
   ["st_mtim"]=>
   array(2) {
     ["tv_sec"]=>
@@ -49,8 +46,6 @@ array(16) {
     ["tv_nsec"]=>
     int(%d)
   }
-  ["st_mtime"]=>
-  int(%d)
   ["st_ctim"]=>
   array(2) {
     ["tv_sec"]=>
@@ -58,8 +53,6 @@ array(16) {
     ["tv_nsec"]=>
     int(%d)
   }
-  ["st_ctime"]=>
-  int(%d)
   ["st_blksize"]=>
   int(%d)
   ["st_blocks"]=>