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
odbc_next_result(3) - php
class_alias(3) - php
is_float(3) - php
method_exists(3) - php
mysqlnd_ms_match_wild(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch