Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

php://

The php:// wrapper is a native PHP wrapper, to access stdin, stdout and stderr. These are the incoming, outgoing and error streams of the executed PHP code.

<?php

    // display the raw incoming data
    print_r(file_get_content('php://stdin'));

?>

Documentation

See Also