stream_is_local

PHP 5 >= 5.2.4, PHP 7, PHP 8
stream_is_local - Checks if a stream is a local stream
Manual
Code Examples

stream_is_local( resource|string$stream ): bool

Checks if a stream, or a URL, is a local one or not.

Parameters

stream

The stream resource or URL to check.

Return Values

Returns true on success or false on failure.

Example of stream_is_local

Show all examples for stream_is_local

PHP Version:


Function stream_is_local:

Streams Functions

Most used PHP functions