26.8.

, . :

stat(),

lstat().

stat () . :

array stat (string filename)

filename . stat () , . :

();

();

inode (inode protectionmode);

(number oflinks);

ID (user ID ofowner);

ID (group IDowner);

, inode (device type if inode device);

(size inbytes);

(time oflastaccess);

(time oflastmodification);

(time oflastchange);

I/O (blocksize forfilesystem I/O);

(number ofblocksallocated).

newname . txt: <?php

$plot = stat("Z:\\home\\localhost\\www\\newname.txt") ;

while (list ($line_num, $line) = each ($Plot>>

(

echo "<b>Line $line_num:</b> ". htmlspecialchars ($line) . "<br>\n";

}

?>

, :

Line

0:

25

Line

:

Line

2:

3320

Line

3:

1

Line

4:

Line

5:

Line

:

25

Line

:

40

Line

8:

009400

Line

9:

0088

Line

0:

0038

Line

:

-1

Line

2:

-

PHP 3 4.

lstat () stat (), -' . stat <) lstat () , . :

array lstat (string filename)

Istat () , . filename , , , .

Istat () 3-3.0:4 4.