/PHP-8.1/ext/sysvmsg/ |
H A D | sysvmsg.c | 143 struct msqid_ds stat; in PHP_FUNCTION() local 153 if (msgctl(mq->id, IPC_STAT, &stat) == 0) { in PHP_FUNCTION() 158 stat.msg_perm.uid = zval_get_long(item); in PHP_FUNCTION() 161 stat.msg_perm.gid = zval_get_long(item); in PHP_FUNCTION() 164 stat.msg_perm.mode = zval_get_long(item); in PHP_FUNCTION() 167 stat.msg_qbytes = zval_get_long(item); in PHP_FUNCTION() 169 if (msgctl(mq->id, IPC_SET, &stat) == 0) { in PHP_FUNCTION() 181 struct msqid_ds stat; in PHP_FUNCTION() local 191 if (msgctl(mq->id, IPC_STAT, &stat) == 0) { in PHP_FUNCTION() 197 add_assoc_long(return_value, "msg_stime", stat.msg_stime); in PHP_FUNCTION() [all …]
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | lstat_stat_variation18.phpt | 2 Test lstat() and stat() functions: usage variations - dir/file name stored in object 16 echo "*** Testing stat() with filename & directory name stored inside an object ***\n"; 31 echo "\n-- Testing stat() on filename stored inside an object --\n"; 32 // dump the stat returned value 33 var_dump( stat($file_name->var_name) ); 35 echo "\n-- Testing stat() on directory name stored inside an object --\n"; 36 // dump the stat returned value 37 var_dump( stat($dir_name->var_name) ); 48 *** Testing stat() with filename & directory name stored inside an object *** 50 -- Testing stat() on filename stored inside an object -- [all …]
|
H A D | lstat_stat_variation14.phpt | 2 Test lstat() and stat() functions: usage variations - hardlink 16 echo "*** Checking lstat() and stat() on hard link ***\n"; 23 $file_stat = stat($filename); 28 // compare the stat 30 // clear the stat 42 *** Checking lstat() and stat() on hard link ***
|
H A D | lstat_stat_variation2.phpt | 2 Test lstat() and stat() functions: usage variations - effects of rename() on dir 13 // renaming a directory and check stat 14 echo "*** Testing stat() for directory after being renamed ***\n"; 17 $old_stat = stat($old_dirname); 20 $new_stat = stat($new_dirname); 42 *** Testing stat() for directory after being renamed ***
|
H A D | stat_variation8-win32.phpt | 2 Test stat() functions: usage variations - effects of truncate() 26 echo "\n*** Testing stat(): on file by truncating it to given size ***\n"; 33 $old_stat = stat($filename); 43 $new_stat = stat($filename); 49 // compare the stat 53 // clear the stat 64 *** Testing stat(): on file by truncating it to given size ***
|
H A D | lstat_stat_variation17.phpt | 2 Test lstat() and stat() functions: usage variations - effects changing permissions of dir 17 // checking stat() on directory 22 $old_stat = stat($dirname); 25 // clear the stat 27 $new_stat = stat($dirname); 31 // compare the stat
|
H A D | lstat_stat_variation16.phpt | 2 Test lstat() and stat() functions: usage variations - effects changing permissions of file 21 // checking stat() on file after changing its permission 23 $old_stat = stat($filename); 26 // clear the stat 28 $new_stat = stat($filename); 32 // compare the stat
|
H A D | lstat_stat_variation10.phpt | 2 Test lstat() and stat() functions: usage variations - effects of is_dir() 20 echo "*** Testing stat() on directory after using is_dir() on it ***\n"; 21 $old_stat = stat($dirname); 26 $new_stat = stat($dirname); 37 // compare the stat 48 *** Testing stat() on directory after using is_dir() on it ***
|
H A D | lstat_stat_variation12.phpt | 2 Test lstat() and stat() functions: usage variations - effects of is_link() 28 echo "*** Testing stat() on a link after using is_link() on it ***\n"; 31 // clear the stat 39 // compare the stat 41 // clear the stat 53 *** Testing stat() on a link after using is_link() on it ***
|
H A D | lstat_stat_variation8.phpt | 2 Test lstat() and stat() functions: usage variations - creating file/subdir 22 echo "*** Testing stat() on dir after subdir and file is created in it ***\n"; 24 $old_stat = stat($dirname); 30 $new_stat = stat($dirname); 35 // compare the stat 50 *** Testing stat() on dir after subdir and file is created in it ***
|
H A D | lstat_stat_variation7.phpt | 2 Test lstat() and stat() functions: usage variations - writing data into file 15 echo "*** Testing stat() on file after data is written in it ***\n"; 17 $old_stat = stat($file_name); 22 $new_stat = stat($file_name); 40 *** Testing stat() on file after data is written in it ***
|
H A D | filegroup_variation2.phpt | 41 Warning: filegroup(): stat failed for -2.34555 in %s on line %d 44 Warning: filegroup(): stat failed for in %s on line %d 48 Warning: filegroup(): stat failed for 1 in %s on line %d 52 Warning: filegroup(): stat failed for 1234 in %s on line %d 55 Warning: filegroup(): stat failed for 0 in %s on line %d
|
H A D | fileinode_variation2.phpt | 41 Warning: fileinode(): stat failed for -2.34555 in %s on line %d 44 Warning: fileinode(): stat failed for in %s on line %d 48 Warning: fileinode(): stat failed for 1 in %s on line %d 52 Warning: fileinode(): stat failed for 1234 in %s on line %d 55 Warning: fileinode(): stat failed for 0 in %s on line %d
|
H A D | fileowner_variation2.phpt | 42 Warning: fileowner(): stat failed for -2.34555 in %s on line %d 45 Warning: fileowner(): stat failed for in %s on line %d 49 Warning: fileowner(): stat failed for 1 in %s on line %d 53 Warning: fileowner(): stat failed for 1234 in %s on line %d 56 Warning: fileowner(): stat failed for 0 in %s on line %d
|
H A D | fileperms_variation2.phpt | 41 Warning: fileperms(): stat failed for -2.34555 in %s on line %d 44 Warning: fileperms(): stat failed for in %s on line %d 48 Warning: fileperms(): stat failed for 1 in %s on line %d 52 Warning: fileperms(): stat failed for 1234 in %s on line %d 55 Warning: fileperms(): stat failed for 0 in %s on line %d
|
H A D | filestat.phpt | 2 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 D | lstat_stat_variation19.phpt | 2 Test lstat() and stat() functions: usage variations - dir/file names in array 18 echo "*** Testing stat() with filename & directory name stored inside an array ***\n"; 32 echo "\n-- Testing stat() on filename stored inside an array --\n"; 33 var_dump( stat($names[0]) ); // values stored with numeric index 34 var_dump( stat($names_with_key['file']) ); // value stored with string key 36 echo "\n-- Testing stat() on dir name stored inside an array --\n"; 37 var_dump( stat($names[1]) ); // values stored with numeric index 38 var_dump( stat($names_with_key["dir"]) ); // value stored with string key 49 *** Testing stat() with filename & directory name stored inside an array *** 51 -- Testing stat() on filename stored inside an array -- [all …]
|
H A D | touch_basic.phpt | 39 $init_meta = stat($filename); 43 $next_meta = stat($filename); 50 echo "stat data differs at $type[$i]\n"; 63 $init_meta = stat($filename); 82 stat data differs at atime 83 stat data differs at mtime 84 stat data differs at ctime
|
H A D | stat_variation7-win32.phpt | 2 Test stat() functions: usage variations - names of dir/file stored in objects 25 echo "\n*** Testing stat(): with filename 44 echo "\n-- Testing stat() on filename stored inside an object --\n"; 45 var_dump( stat($obj3->var_name) ); 49 var_dump( stat($obj4->var_name) ); 51 echo "\n-- Testing stat() on directory name stored inside an object --\n"; 52 var_dump( stat($obj1->var_name) ); 55 var_dump( stat($obj2->var_name) ); 68 *** Testing stat(): with filename 71 -- Testing stat() on filename stored inside an object -- [all …]
|
H A D | bug77552.phpt | 2 Bug #77552 Uninitialized php_stream_statbuf in stat functions 21 $stat = lstat($junction); 22 var_dump($stat['mode']);
|
H A D | statcache-corruption.phpt | 5 $a = stat(__FILE__); 7 $b = stat(__FILE__);
|
H A D | 005_variation2-win32.phpt | 62 Warning: fileatime(): stat failed for in %s on line %d 65 Warning: filemtime(): stat failed for in %s on line %d 68 Warning: filectime(): stat failed for in %s on line %d 73 Warning: fileatime(): stat failed for | in %s on line %d 76 Warning: filemtime(): stat failed for | in %s on line %d 79 Warning: filectime(): stat failed for | in %s on line %d
|
/PHP-8.1/ext/phar/tests/tar/files/ |
H A D | make.dangerous.tar.php.inc | 42 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-8.1/ext/zlib/tests/ |
H A D | zlib_scheme_stat_basic.phpt | 9 stat($srcFile); 13 Warning: stat(): stat failed for compress.zlib://%s/004.txt.gz in %s on line %d
|
/PHP-8.1/ext/phar/tests/ |
H A D | stat2_5.3.phpt | 2 Phar: test stat function interceptions and is_file/is_link edge cases (PHP 5.3+) 20 $b['foo/stat.php'] = '<?php 22 var_dump(is_link("./stat.php"),is_file("./stat.php"), is_link("./oops"), is_file("./oops")); 31 include "phar://" . __FILE__ . "/foo/stat.php";
|