/PHP-7.4/Zend/tests/ |
H A D | exception_during_include_stat.phpt | 8 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 D | lstat_stat_variation17.phpt | 2 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 D | lstat_stat_variation14.phpt | 2 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 D | lstat_stat_variation2.phpt | 2 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 D | copy_variation18.phpt | 2 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 D | lstat_stat_variation16.phpt | 2 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 D | lstat_stat_variation8.phpt | 2 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 D | lstat_stat_variation10.phpt | 2 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 D | lstat_stat_variation12.phpt | 2 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 D | lstat_stat_variation7.phpt | 2 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 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 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 D | stat_variation7-win32.phpt | 2 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 D | lstat_stat_variation6.phpt | 2 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 D | lstat_stat_variation15.phpt | 2 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 D | touch_basic.phpt | 45 $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 D | statcache-corruption.phpt | 5 $a = stat(__FILE__); 7 $b = stat(__FILE__);
|
H A D | bug77552.phpt | 2 Bug #77552 Unintialized php_stream_statbuf in stat functions 21 $stat = lstat($junction); 22 var_dump($stat['mode']);
|
H A D | filegroup_variation2.phpt | 49 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 D | fileowner_variation2.phpt | 50 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 D | fileperms_variation2.phpt | 49 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 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-7.4/ext/sysvmsg/ |
H A D | sysvmsg.c | 181 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 D | zlib_scheme_stat_basic.phpt | 13 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 D | utils.inc | 7 $stat = $zip->statIndex($index); 9 if (!in_array($stat["name"], $entries)) { 13 $found[] = $stat["name"];
|