Home
last modified time | relevance | path

Searched refs:stdin (Results 1 – 25 of 44) sorted by last modified time

12

/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch2924 - /* Place stdin in binary mode, so EOF (Ctrl+Z) doesn't stop early. */
3014 - inname == NULL ? "/dev/stdin" : inname);
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c1813 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
2491 zend_stream_init_fp(&file_handle, stdin, "Standard input code");
/PHP-7.4/sapi/cli/
H A Dphp_cli.c916 zend_stream_init_fp(&file_handle, stdin, "Standard input code"); in do_cli()
1230 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in WinMain()
/PHP-7.4/
H A Drun-tests.php1201 function system_with_timeout($commandline, $env = null, $stdin = null, $captureStdIn = true, $captu… argument
1229 if (!is_null($stdin)) {
1230 fwrite($pipes[0], $stdin);
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_prompt.c70 PHPDBG_COMMAND_D(stdin, "read script from stdin", 0 , NULL, "s", 0),
463 PHPDBG_COMMAND(stdin) in PHPDBG_COMMAND() argument
H A Dphpdbg.c1218 dup2(*socket, fileno(stdin)); in phpdbg_remote_init()
1417 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in main()
1835 PHPDBG_G(io)[PHPDBG_STDIN].ptr = stdin; in main()
1836 PHPDBG_G(io)[PHPDBG_STDIN].fd = fileno(stdin); in main()
1846 PHPDBG_G(io)[PHPDBG_STDIN].ptr = stdin; in main()
1851 PHPDBG_G(io)[PHPDBG_STDIN].ptr = stdin; in main()
1852 PHPDBG_G(io)[PHPDBG_STDIN].fd = fileno(stdin); in main()
1934 PHPDBG_COMMAND_HANDLER(stdin)(&cmd); in main()
H A Dphpdbg_prompt.h36 PHPDBG_COMMAND(stdin);
/PHP-7.4/Zend/
H A Dzend_stream.c35 if (handle && (FILE*)handle != stdin) { in zend_stream_stdio_closer()
/PHP-7.4/ext/standard/tests/streams/
H A Dbug78883.phpt23 // if the bug is not present, it will hang waiting for stdin,
H A Dproc_open_bug69900.phpt13 $in = fopen("php://stdin", "rb", false, stream_context_create(array("pipe" => array("blocking" => t…
H A Dbug60602.phpt7 0 => array('pipe', 'r'), // stdin
H A Dbug64770.phpt7 0 => array('pipe', 'r'), // stdin
H A Dproc_open_bug51800.phpt31 0 => array("pipe", "rb"), // stdin
H A Dproc_open_bug51800_right.phpt15 0 => array("pipe", "rb"), // stdin
H A Dproc_open_bug51800_right2.phpt15 0 => array("pipe", "rb"), // stdin
H A Dproc_open_bug64438.phpt2 Bug #64438 proc_open hangs with stdin/out with 4097+ bytes
9 …$cmd = PHP_BINARY . ' -n -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDE…
11 …$cmd = PHP_BINARY . ' -n -r \'fwrite(STDOUT, $in = file_get_contents("php://stdin")); fwrite(STDER…
14 $stdin = str_repeat('*', 4097);
23 $stdinLen = strlen($stdin);
42 $written = fwrite($writePipes[0], substr($stdin, $stdinOffset), 8192);
H A Dbug61019.phpt9 0 => array("pipe", "r"), // stdin is a pipe that the child will read from
/PHP-7.4/tests/output/
H A Dstream_isatty.inc7 'STDIN (fopen)' => fopen('php://stdin', 'rb'),
H A Dsapi_windows_vt100_support.inc30 'STDIN (fopen)' => fopen('php://stdin', 'rb'),
/PHP-7.4/sapi/embed/
H A Dphp_embed.c184 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
/PHP-7.4/ext/standard/
H A Dphp_fopen_wrapper.c254 file = stdin; in php_stream_url_wrap_php()
/PHP-7.4/ext/phar/tests/zip/
H A Dbzip2.phpt29 $a->addFile('', null, 'stdin');
30 $a->writeZip(dirname(__FILE__) . '/stdin.zip');
H A Dcorrupt_006.phpt2 Phar: zip with file created from stdin
8 new PharData(__DIR__ . '/files/stdin.zip');
15 phar error: Cannot process zips created from stdin (zero-length filename) in zip-based phar "%sstdi…
/PHP-7.4/ext/gd/tests/
H A Dimageinterlace_error2.phpt12 $image = fopen('php://stdin', 'r');
/PHP-7.4/tests/run-test/
H A Dtest010.phpt6 var_dump(stream_get_contents(fopen('php://stdin', 'r')));
7 var_dump(file_get_contents('php://stdin'));

Completed in 62 milliseconds

12