php man page for stream_is_local

Query: stream_is_local

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

STREAM_IS_LOCAL(3)							 1							STREAM_IS_LOCAL(3)

stream_is_local - Checks if a stream is a local stream

SYNOPSIS
bool stream_is_local (mixed $stream_or_url)
DESCRIPTION
Checks if a stream, or a URL, is a local one or not.
PARAMETERS
o $stream_or_url - The stream resource or URL to check.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1 stream_is_local(3) example Basic usage example. <?php var_dump(stream_is_local("http://example.com")); var_dump(stream_is_local("/etc")); ?> The above example will output something similar to: bool(false) bool(true) PHP Documentation Group STREAM_IS_LOCAL(3)
Related Man Pages
is_int(3) - php
isset(3) - php
is_dir(3) - php
is_string(3) - php
stream_socket_shutdown(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Forum Video Tutorial: How to Use Code Tags
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch