Home
last modified time | relevance | path

Searched refs:stat (Results 26 – 50 of 166) sorted by relevance

1234567

/PHP-7.4/Zend/tests/
H A Dexception_during_include_stat.phpt8 throw new Exception('stat failed');
38 stat failed
39 stat failed
40 stat failed
41 stat failed
/PHP-7.4/ext/standard/tests/file/
H A Dlstat_stat_variation17.phpt2 Test lstat() and stat() functions: usage variations - effects changing permissions of dir
15 Prototype: array stat ( string $filename );
24 // checking stat() on directory
29 $old_stat = stat($dirname);
32 // clear the stat
34 $new_stat = stat($dirname);
38 // compare the stat
H A Dlstat_stat_variation14.phpt2 Test lstat() and stat() functions: usage variations - hardlink
8 Prototype: array stat ( string $filename );
23 echo "*** Checking lstat() and stat() on hard link ***\n";
30 $file_stat = stat($filename);
35 // compare the stat
37 // clear the stat
49 *** Checking lstat() and stat() on hard link ***
H A Dlstat_stat_variation2.phpt2 Test lstat() and stat() functions: usage variations - effects of rename() on dir
8 Prototype: array stat ( string $filename );
20 // renaming a directory and check stat
21 echo "*** Testing stat() for directory after being renamed ***\n";
24 $old_stat = stat($old_dirname);
27 $new_stat = stat($new_dirname);
49 *** Testing stat() for directory after being renamed ***
H A Dcopy_variation18.phpt2 Test copy() function: usage variations - stat after copy
10 /* Test copy(): checking stat of file before and after after copy operation */
16 echo "*** Test copy() function: stat of file before and after copy ***\n";
26 $stat_before_copy = stat($src_file_name);
32 $stat_after_copy = stat($src_file_name);
35 // compare all stat fields except access time
51 *** Test copy() function: stat of file before and after copy ***
H A Dlstat_stat_variation16.phpt2 Test lstat() and stat() functions: usage variations - effects changing permissions of file
15 Prototype: array stat ( string $filename );
28 // checking stat() on file after changing its permission
30 $old_stat = stat($filename);
33 // clear the stat
35 $new_stat = stat($filename);
39 // compare the stat
H A Dlstat_stat_variation8.phpt2 Test lstat() and stat() functions: usage variations - creating file/subdir
15 Prototype: array stat ( string $filename );
29 echo "*** Testing stat() on dir after subdir and file is created in it ***\n";
31 $old_stat = stat($dirname);
37 $new_stat = stat($dirname);
42 // compare the stat
57 *** Testing stat() on dir after subdir and file is created in it ***
H A Dlstat_stat_variation10.phpt2 Test lstat() and stat() functions: usage variations - effects of is_dir()
12 Prototype: array stat ( string $filename );
27 echo "*** Testing stat() on directory after using is_dir() on it ***\n";
28 $old_stat = stat($dirname);
33 $new_stat = stat($dirname);
44 // compare the stat
55 *** Testing stat() on directory after using is_dir() on it ***
H A Dlstat_stat_variation12.phpt2 Test lstat() and stat() functions: usage variations - effects of is_link()
16 Prototype: array stat ( string $filename );
35 echo "*** Testing stat() on a link after using is_link() on it ***\n";
38 // clear the stat
46 // compare the stat
48 // clear the stat
60 *** Testing stat() on a link after using is_link() on it ***
H A Dlstat_stat_variation7.phpt2 Test lstat() and stat() functions: usage variations - writing data into file
8 Prototype: array stat ( string $filename );
22 echo "*** Testing stat() on file after data is written in it ***\n";
24 $old_stat = stat($file_name);
28 $new_stat = stat($file_name);
46 *** Testing stat() on file after data is written in it ***
H A Dfilestat.phpt2 various file stat func tests
49 Warning: fileinode(): stat failed for /no/such/file/or/dir in %s on line %d
52 Warning: fileowner(): stat failed for /no/such/file/or/dir in %s on line %d
55 Warning: filegroup(): stat failed for /no/such/file/or/dir in %s on line %d
58 Warning: fileatime(): stat failed for /no/such/file/or/dir in %s on line %d
61 Warning: filectime(): stat failed for /no/such/file/or/dir in %s on line %d
H A Dlstat_stat_variation19.phpt2 Test lstat() and stat() functions: usage variations - dir/file names in array
8 Prototype: array stat ( string $filename );
39 echo "\n-- Testing stat() on filename stored inside an array --\n";
40 var_dump( stat($names[0]) ); // values stored with numeric index
41 var_dump( stat($names_with_key['file']) ); // value stored with string key
43 echo "\n-- Testing stat() on dir name stored inside an array --\n";
44 var_dump( stat($names[1]) ); // values stored with numeric index
45 var_dump( stat($names_with_key["dir"]) ); // value stored with string key
56 *** Testing stat() with filename & directory name stored inside an array ***
58 -- Testing stat() on filename stored inside an array --
[all …]
H A Dstat_variation7-win32.phpt2 Test stat() functions: usage variations - names of dir/file stored in objects
13 * Prototype: array stat ( string $filename );
30 echo "\n*** Testing stat(): with filename
49 echo "\n-- Testing stat() on filename stored inside an object --\n";
50 var_dump( stat($obj3->var_name) );
54 var_dump( stat($obj4->var_name) );
57 var_dump( stat($obj1->var_name) );
60 var_dump( stat($obj2->var_name) );
73 *** Testing stat(): with filename
76 -- Testing stat() on filename stored inside an object --
[all …]
H A Dlstat_stat_variation6.phpt2 Test lstat() and stat() functions: usage variations - effects of touch() on link
24 Prototype: array stat ( string $filename );
42 // touch a link, check stat, there should be difference in atime
52 $new_stat = stat($file_name);
58 // compare the stat
61 // clear the stat
H A Dlstat_stat_variation15.phpt2 Test lstat() and stat() functions: usage variations - effects changing permissions of link
16 Prototype: array stat ( string $filename );
34 // checking lstat() and stat() on links
39 // clear the stat
46 // compare the stat
H A Dtouch_basic.phpt45 $init_meta = stat($filename);
49 $next_meta = stat($filename);
56 echo "stat data differs at $type[$i]\n";
69 $init_meta = stat($filename);
88 stat data differs at atime
89 stat data differs at mtime
90 stat data differs at ctime
H A Dstatcache-corruption.phpt5 $a = stat(__FILE__);
7 $b = stat(__FILE__);
H A Dbug77552.phpt2 Bug #77552 Unintialized php_stream_statbuf in stat functions
21 $stat = lstat($junction);
22 var_dump($stat['mode']);
H A Dfilegroup_variation2.phpt49 Warning: filegroup(): stat failed for -2.34555 in %s on line %d
52 Warning: filegroup(): stat failed for in %s on line %d
56 Warning: filegroup(): stat failed for 1 in %s on line %d
64 Warning: filegroup(): stat failed for 1234 in %s on line %d
67 Warning: filegroup(): stat failed for 0 in %s on line %d
H A Dfileowner_variation2.phpt50 Warning: fileowner(): stat failed for -2.34555 in %s on line %d
53 Warning: fileowner(): stat failed for in %s on line %d
57 Warning: fileowner(): stat failed for 1 in %s on line %d
65 Warning: fileowner(): stat failed for 1234 in %s on line %d
68 Warning: fileowner(): stat failed for 0 in %s on line %d
H A Dfileperms_variation2.phpt49 Warning: fileperms(): stat failed for -2.34555 in %s on line %d
52 Warning: fileperms(): stat failed for in %s on line %d
56 Warning: fileperms(): stat failed for 1 in %s on line %d
64 Warning: fileperms(): stat failed for 1234 in %s on line %d
67 Warning: fileperms(): stat failed for 0 in %s on line %d
/PHP-7.4/ext/phar/tests/tar/files/
H A Dmake.dangerous.tar.php.inc42 function addFile($path, $fileOrStream, $stat = null)
45 if ($stat === null) {
47 $stat = fstat($fileOrStream);
49 $stat = array(
60 if ($stat['mode'] & 0x4000) {
62 } else if ($stat['mode'] & 0x8000) {
64 } else if ($stat['mode'] & 0xA000) {
84 sprintf('%6s ',decoct($stat['uid'])),
85 sprintf('%6s ',decoct($stat['gid'])),
86 sprintf('%11s ',decoct($stat['size'])),
[all …]
/PHP-7.4/ext/sysvmsg/
H A Dsysvmsg.c181 struct msqid_ds stat; in PHP_FUNCTION() local
193 if (msgctl(mq->id, IPC_STAT, &stat) == 0) { in PHP_FUNCTION()
198 stat.msg_perm.uid = zval_get_long(item); in PHP_FUNCTION()
201 stat.msg_perm.gid = zval_get_long(item); in PHP_FUNCTION()
204 stat.msg_perm.mode = zval_get_long(item); in PHP_FUNCTION()
207 stat.msg_qbytes = zval_get_long(item); in PHP_FUNCTION()
209 if (msgctl(mq->id, IPC_SET, &stat) == 0) { in PHP_FUNCTION()
222 struct msqid_ds stat; in PHP_FUNCTION() local
234 if (msgctl(mq->id, IPC_STAT, &stat) == 0) { in PHP_FUNCTION()
240 add_assoc_long(return_value, "msg_stime", stat.msg_stime); in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/zlib/tests/
H A Dzlib_scheme_stat_basic.phpt13 stat($srcFile);
18 Warning: stat(): stat failed for compress.zlib://%s/004.txt.gz in %s on line %d
/PHP-7.4/ext/zip/tests/
H A Dutils.inc7 $stat = $zip->statIndex($index);
9 if (!in_array($stat["name"], $entries)) {
13 $found[] = $stat["name"];

Completed in 27 milliseconds

1234567