php://

Accessing various I/O streams PHP provides a number of miscellaneous I/O streams that allow access to PHP's own input and output streams, the standard input, output and error file descriptors, in-memory and disk-backed temporary file streams, and filters that can manipulate other file resources as they are read from and written to. php://stdin, php://stdout and php://stderr php://stdin, php://stdout and php://stderr allow direct access to the corresponding inp

zlib://

Compression Streams zlib: PHP 4.0.4 - PHP 4.2.3 (systems with fopencookie only) compress.zlib:// and compress.bzip2:// PHP 4.3.0 and up zlib: works like gzopen(), except that the stream can be used with fread() and the other filesystem functions. This is deprecated as of PHP 4.3.0 due to ambiguities with filenames containing ':' characters; use compress.zlib:// instead. compress.zlib:// and compress.bzip2:// are equivalent to gzopen() and bzopen() respectively,

data://

Data (RFC 2397) The data: (» RFC 2397) stream wrapper is available since PHP 5.2.0. Examples: Print data:// contents <?php // prints "I love PHP" echo file_get_contents('data://text/plain;base64,SSBsb3ZlIFBIUAo='); ?> Fetch the media type <?php $fp   = fopen('data://text/plain;base64,', 'r'); $meta = stream_get_meta_data($fp); // prints "te

glob://

Find pathnames matching pattern The glob: stream wrapper is available since PHP 5.3.0. Examples: Basic usage <?php // Loop over all *.php files in ext/spl/examples/ directory // and print the filename and its size $it = new DirectoryIterator("glob://ext/spl/examples/*.php"); foreach($it as $f) {     printf("%s: %.1FK\n", $f->getFilename(), $f->getSize()/1024); } ?>

phar://

PHP Archive The phar:// stream wrapper is available since PHP 5.3.0. See Phar stream wrapper for detailed description. See also: Phar context options -

ssh2://

Secure Shell 2 ssh2.shell:// ssh2.exec:// ssh2.tunnel:// ssh2.sftp:// ssh2.scp:// PHP 4.3.0 and up (PECL) Note: This wrapper is not enabled by default In order to use the ssh2.*:// wrappers you must install the » SSH2 extension available from » PECL. In addition to accepting traditional URI login details, the ssh2 wrappers will also reuse open connections by passing the connection resource in the host portion of the URL.

rar://

RAR The wrapper takes the url encoded path to the RAR archive (relative or absolute), an optional asterik (*), an optional number sign (#) and an optional url encoded entry name, as stored in the archive. Specifying an entry name requires the number sign; a leading forward slash in the entry name is optional. This wrapper can open both files and directories. When opening directories, the asterisk sign forces the directory entries names to be returned unencoded.

ogg://

Audio streams Files opened for reading via the ogg:// wrapper are treated as compressed audio encoded using the OGG/Vorbis codec. Similarly, files opened for writing or appending via the ogg:// wrapper are writen as compressed audio data. stream_get_meta_data(), when used on an OGG/Vorbis file opened for reading will return various details about the stream including the vendor tag, any included comments, the number of channels, the sampling rate, and the encoding

expect://

Process Interaction Streams Streams opened via the expect:// wrapper provide access to process'es stdio, stdout and stderr via PTY. Note: This wrapper is not enabled by default In order to use the expect:// wrapper you must install the » Expect extension available from » PECL. expect:// PHP 4.3.0 and up (PECL)

password_verify

(PHP 5 >= 5.5.0, PHP 7) Verifies that a password matches a hash boolean password_verify ( string $password, string $hash ) Verifies that the given hash matches the given password. Note that password_hash() returns the algorithm, cost and salt as part of the returned hash. Therefore, all information that's needed to verify the hash is included in it. This allows the verify function to verify the hash without needing sepa