stream_supports_lock

(PHP 5 >= 5.3.0, PHP 7)

stream_supports_lockTells whether the stream supports locking

˵��

stream_supports_lock ( resource $stream ) : bool

Tells whether the stream supports locking through flock().

����

stream

The stream to check.

����ֵ

�ɹ�ʱ���� TRUE�� ������ʧ��ʱ���� FALSE��

�μ�

  • flock() - ������ѯ�ļ�����