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 streamSYNOPSISbool stream_is_local (mixed $stream_or_url)DESCRIPTIONChecks if a stream, or a URL, is a local one or not.PARAMETERSo $stream_or_url - The stream resource or URL to check.RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #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_file(3) - php |
oci_field_is_null(3) - php |
Similar Topics in the Unix Linux Community |
---|
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
New Code Tags (Syntax Highlighting) |
Denial Of Service Attack Update |
Please Welcome Nicki Paul to the Moderator Team! |