stream_is_local(3) php man page | unix.com

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
cairo_has_current_point(3) - php
is_string(3) - php
method_exists(3) - php
stream_socket_shutdown(3) - php
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update