PHP function stream_is_local()

Availability in versions: PHP 5.2.4

Checks if a stream is a local stream

Parameters

Parameter Data type Default value Note
$stream_or_url mixed not The stream resource or URL to check.

Return values

bool

Returns true on success, otherwise false on failure.

Other resources

Official stream-is-local documentation

Newsletter

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