Menu Riverview Church

STREAM_IS_LOCAL

Checks if a stream is a local stream

SYNTAX

stream_is_local ( mixed $stream_or_url ) : bool

PARAMETERS

stream_or_url

The stream resource or URL to check.

RETURN

Returns TRUE on success or FALSE on failure.

EXAMPLES

1

true

2

false

PHP