Home
last modified time | relevance | path

Searched refs:stat (Results 51 – 75 of 201) sorted by relevance

123456789

/PHP-5.5/ext/standard/tests/file/
H A Dstatcache-corruption.phpt5 $a = stat(__FILE__);
7 $b = stat(__FILE__);
H A Dtouch_basic-win32.phpt44 $init_meta = stat($filename);
48 $next_meta = stat($filename);
55 echo "stat data differs at $type[$i]\n";
68 $init_meta = stat($filename);
87 stat data differs at atime
88 stat data differs at mtime
H A D001.phpt49 $s = stat ('test.file');
53 echo "test.file lstat and stat differ at element $i\n";
56 $s = stat ('test.link');
60 if ($i != 6 && $i != 10 && $i != 11) echo "test.link lstat and stat differ at element $i\n";
128 test.link lstat and stat differ at element 1
129 test.link lstat and stat differ at element 2
130 test.link lstat and stat differ at element 7
131 test.link lstat and stat differ at element 8
132 test.link lstat and stat differ at element 9
H A Dfile.inc13 the same stat.
529 $stat = stat array
538 // named keys present in a stat
550 if($stat[$key] != $stat[$str_key]) {
551 echo "Error: stat[$key] doesn't match with stat[$str_key]\n";
563 echo "\n Dumping stat array ...\n";
564 var_dump($stat);
575 Compares two stat values, stat value should be obtained by stat/lstat
576 $stat1 = first stat array
577 $stat2 = second stat array
[all …]
H A Dfilegroup_error.phpt28 Warning: filegroup(): stat failed for /no/such/file/dir in %s on line %d
31 Warning: filegroup(): stat failed for string in %s on line %d
34 Warning: filegroup(): stat failed for 100 in %s on line %d
H A Dfileinode_error.phpt29 Warning: fileinode(): stat failed for /no/such/file/dir in %s on line 10
32 Warning: fileinode(): stat failed for string in %s on line 13
35 Warning: fileinode(): stat failed for 100 in %s on line 14
H A Dfileowner_error.phpt28 Warning: fileowner(): stat failed for /no/such/file/dir in %s on line %d
31 Warning: fileowner(): stat failed for string in %s on line %d
34 Warning: fileowner(): stat failed for 100 in %s on line %d
H A D005_variation2-win32.phpt90 Warning: fileatime(): stat failed for in %s on line %d
93 Warning: filemtime(): stat failed for in %s on line %d
96 Warning: filectime(): stat failed for in %s on line %d
101 Warning: fileatime(): stat failed for | in %s on line %d
104 Warning: filemtime(): stat failed for | in %s on line %d
107 Warning: filectime(): stat failed for | in %s on line %d
H A Dlstat_stat_variation20.phpt2 Test lstat() and stat() functions: usage variations - link names stored in array/object
14 Prototype: array stat ( string $filename );
50 echo "\n-- Testing stat() on link name stored inside an array --\n";
51 var_dump( stat($link_array[0]) ); // with default numeric index
52 var_dump( stat($link_array_with_key["linkname"]) ); // with string key
53 var_dump( stat($link_array_with_key['linkname']) );
123 -- Testing stat() on link name stored inside an array --
H A Dfstat_variation8.phpt5 $stat_result = stat(__FILE__);
19 echo "FAIL: stat differs at '$key'. $fstat_result[$key] -- $value\n";
/PHP-5.5/ext/phar/tests/
H A Dstat2.phpt2 Phar: test stat function interceptions and is_file/is_link edge cases (PHP 5.2)
23 $b['foo/stat.php'] = '<?php
25 var_dump(is_link("./stat.php"),is_file("./stat.php"), is_link("./oops"), is_file("./oops"));
34 include "phar://" . __FILE__ . "/foo/stat.php";
H A Dstat2_5.3.phpt2 Phar: test stat function interceptions and is_file/is_link edge cases (PHP 5.3+)
23 $b['foo/stat.php'] = '<?php
25 var_dump(is_link("./stat.php"),is_file("./stat.php"), is_link("./oops"), is_file("./oops"));
34 include "phar://" . __FILE__ . "/foo/stat.php";
H A D020.phpt2 Phar: url stat
24 var_dump(stat('phar://hio/a'), stat('phar://hio/b'));
H A Dstat.phpt2 Phar: test stat function interceptions
11 var_dump(stat(""));
18 echo "stat\n";
19 var_dump(stat("dir/file1.txt"));
75 stat
223 Warning: fileperms(): stat failed for not/found in phar://%sstat.phar.php/my/index.php on line %d
/PHP-5.5/ext/reflection/tests/
H A DReflectionMethod_basic3.phpt25 static function stat() {
26 echo "Called stat()\n";
45 reflectMethod("TestClass", "stat");
71 Reflecting on method TestClass::stat()
75 string(4) "stat"
H A DReflectionProperty_getModifiers.001.phpt24 static public $stat = "static property";
33 reflectProperty("TestClass", "stat");
47 Reflecting on property TestClass::stat
H A DReflectionMethod_basic2.phpt23 static function stat() {
24 echo "Called stat()\n";
43 reflectMethod("TestClass", "stat");
70 Reflecting on method TestClass::stat()
73 string(%d) "Method [ <user> static public method stat ] {
79 string(%d) "Method [ <user> static public method stat ] {
H A DReflectionProperty_isDefault_basic.phpt17 static public $stat = "static property";
23 reflectProperty("TestClass", "stat");
41 Reflecting on property TestClass::stat
H A DReflectionProperty_setValue_error.phpt9 static public $stat = "static property";
30 $propInfo = new ReflectionProperty('TestClass', 'stat');
37 var_dump(TestClass::$stat);
39 var_dump(TestClass::$stat);
43 var_dump(TestClass::$stat);
H A DReflectionMethod_basic4.phpt29 static function stat() {
30 echo "Called stat()\n";
49 reflectMethod("TestClass", "stat");
74 Reflecting on method TestClass::stat()
H A DReflectionProperty_basic2.phpt26 static public $stat = "static property";
35 reflectProperty("TestClass", "stat");
58 Reflecting on property TestClass::stat
/PHP-5.5/tests/lang/
H A Dexecution_order.phpt152 static $stat = 20;
156 echo c::$stat + (c::$stat=200);
160 echo (c::$stat=300) + c::$stat;
/PHP-5.5/ext/mysqli/tests/
H A Dbug55859.phpt2 Bug #55859 mysqli->stat property access gives error
15 var_dump(soundex(mysqli_stat($link)) === soundex($link->stat));
/PHP-5.5/ext/pcre/tests/
H A Dpreg_grep_basic.phpt9 $array = array('HTTP://WWW.EXAMPLE.COM', '/index.html', '/info/stat/', 'http://test.uk.com/index/ht…
25 string(11) "/info/stat/"
43 string(11) "/info/stat/"
59 string(11) "/info/stat/"
/PHP-5.5/ext/fileinfo/libmagic/
H A Dmagic.c84 const struct stat *);
105 struct stat st;
116 if (stat(hmagicpath, &st) == -1) {
120 if (stat(hmagicpath, &st) == -1)
289 const struct stat *sb) in close_and_restore()
353 struct stat sb; in file_or_stream()

Completed in 24 milliseconds

123456789