stat
������� �������� ������ ��� ����������, ���������� ������������ �������� ��� ���������� �����, � ���������� �� � ���� �������.
��������� :
array stat(string $filename)
���� ������ ������ �������� ��������� �������� � ���������� �������:
���� $filename ������ �� ��� �����, � ��� ������������� ������, �� ������� ����� ���������� ���������� � ��� �����, �� ������� ��������� ��� ������ (� �� � ������).
������� �������� ������ ��� ����������, ���������� ������������ �������� ��� ���������� �����, � ���������� �� � ���� �������.
��������� :
array stat(string $filename)
���� ������ ������ �������� ��������� �������� � ���������� �������:
0 - ����������; 1 - ����� ���� inode; 2 - �������� ������ �����; 3 - ����� ��������� ("�������" ������) �����; 4 - ������������� uid ���������; 5 - ������������� gid ������; 6 - ��� ����������; 7 - ������ ����� � ������; 8 - ����� ���������� ������� � ��������, ��������� � 1 ������ 1970 ����; 9 - ����� ��������� ����������� ����������� �����; 10 - ����� ���������� ��������� ��������� �����; 11 - ������ �����; 12 - ����� ������� ������;���� ������ �������� ����������, ������� �������� � �������� Unix. ��� Windows ������ ���� ����� ���� �����.
���� $filename ������ �� ��� �����, � ��� ������������� ������, �� ������� ����� ���������� ���������� � ��� �����, �� ������� ��������� ��� ������ (� �� � ������).
fileatime
���������� ����� ���������� ������� � �����.
��������� :
int fileatime(string filename)
����� ���������� � ���������� ������, ��������� � 1 ������ 1970 ���� (Unix timestamp). ���� ���� �� ���������, ���������� false.
������� ������� ���������� ������� � ����� ���������� ������ ���, ����� ������ ����� ��������. ��� ��� ��� ������ ������� ������������������ ��� ����������� ������ � ������� � ����������, ����� ��������� ����� �������� � ������������ �������� ���������, � ����� ������� ����������.
���������� ����� ���������� ������� � �����.
��������� :
int fileatime(string filename)
����� ���������� � ���������� ������, ��������� � 1 ������ 1970 ���� (Unix timestamp). ���� ���� �� ���������, ���������� false.
������� ������� ���������� ������� � ����� ���������� ������ ���, ����� ������ ����� ��������. ��� ��� ��� ������ ������� ������������������ ��� ����������� ������ � ������� � ����������, ����� ��������� ����� �������� � ������������ �������� ���������, � ����� ������� ����������.
filemtime
���������� ����� ���������� ��������� ����� ��� false � ������ ���������� �����.
��������� :
int filemtime(string $filename)
���������� ����� ���������� ��������� ����� ��� false � ������ ���������� �����.
��������� :
int filemtime(string $filename)
filectime
���������� ����� �������� �����.
��������� :
int filectime(string $filename)
���������� ����� �������� �����.
��������� :
int filectime(string $filename)
filesize
���������� ������ ����� � ������ ��� false, ���� ����� �� ����������.
��������� :
int filesize(string $filename)
���������� ������ ����� � ������ ��� false, ���� ����� �� ����������.
��������� :
int filesize(string $filename)
touch
������������� ����� �����������.
��������� :
int touch(string $filename [, int $timestamp])
������������� ����� ����������� ���������� ����� $filename ������ $timestamp (� ��������, ��������� � 1 ������ 1970 ����). ���� ������ �������� �� ������, �� ��������������� ������� �����. ������� ������ ���������� false.
���� ���� � ��������� ������ �� ����������, �� ��������� ������.
������������� ����� �����������.
��������� :
int touch(string $filename [, int $timestamp])
������������� ����� ����������� ���������� ����� $filename ������ $timestamp (� ��������, ��������� � 1 ������ 1970 ����). ���� ������ �������� �� ������, �� ��������������� ������� �����. ������� ������ ���������� false.
���� ���� � ��������� ������ �� ����������, �� ��������� ������.