PHP function stream_supports_lock()

Version availability: PHP 5.3.0

Tells whether the stream supports locking.

Parameters

Parameter Data type Default value Note
$stream resource not The stream to check.

Return values

bool

Returns true on success, otherwise false on failure.

Other resources

Official documentation for stream-supports-lock

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.