Home
last modified time | relevance | path

Searched refs:stdout (Results 1 – 25 of 58) sorted by relevance

123

/PHP-8.1/ext/standard/tests/filters/
H A Dbug81475.phpt5 $stdout = fopen('php://stdout', 'wb');
6 stream_filter_append($stdout, 'string.toupper');
7 var_dump(stream_isatty($stdout));
/PHP-8.1/ext/standard/tests/streams/
H A Dproc_open_bug51800_right.phpt16 $stdout = "";
22 1 => array("pipe", "wb"), // stdout
50 $stdout .= fread($pipes[1], 1024);
61 "stdout" => $stdout,
63 ), strlen($stdout), strlen($stderr));
75 ["stdout"]=>
H A Dproc_open_bug51800_right2.phpt10 $stdout = "";
16 1 => array("pipe", "wb"), // stdout
50 $stdout .= fread($pipes[1], 1024);
61 "stdout" => $stdout,
63 ), strlen($stdout), strlen($stderr));
75 ["stdout"]=>
H A Dbug72853.phpt14 1 => array('pipe', 'w'), // stdout
H A Dbug64770.phpt8 1 => array('pipe', 'w'), // stdout
/PHP-8.1/sapi/cli/tests/
H A Dgh8827-002.phpt22 $stdout = fopen('php://stdout', 'r');
25 ob_start(function ($buffer) use ($stdout) {
26 fwrite($stdout, $buffer);
39 var_dump(@fopen('php://stdout', 'a'));
H A Dgh8827-001.phpt30 // not printed if stdout is closed
31 var_dump(@fopen('php://stdout', 'a'));
H A Dstd_streams.phpt22 var_dump(ftell(fopen("php://stdout", "w")));
/PHP-8.1/ext/ffi/tests/
H A Dtrampoline_reset.phpt27 extern FILE *stdout;
35 $ffi->fprintf($ffi->stdout, "FFI\n");
36 $ffi->fflush($ffi->stdout);
H A Dbug77706.phpt19 extern FILE *stdout;
46 $ffi->fprintf($ffi->stdout);
52 $ffi->fprintf($ffi->stdout, 123, "Hello %s\n", "World");
/PHP-8.1/sapi/embed/
H A Dphp_embed.c45 fflush(stdout); in php_embed_deactivate()
66 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in php_embed_single_write()
95 if (fflush(stdout)==EOF) { in php_embed_flush()
201 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
/PHP-8.1/sapi/fpm/tests/
H A Dlog-bwd-multiple-msgs-stdout-stderr.phpt2 FPM: Buffered worker output decorated log with multiple continuous messages (stdout/stderr mixed)
27 file_put_contents('php://stdout', "msg 1 - ");
/PHP-8.1/ext/gd/tests/
H A Dbug39082.phpt2 Bug #39082 (Output image to stdout segfaults).
/PHP-8.1/ext/opcache/jit/dynasm/
H A Ddynasm.lua55 local stdin, stdout, stderr = io.stdin, io.stdout, io.stderr
655 local out = stdout
914 fout = stdout
923 assert(fout == stdout or fout:close())
926 dumpdef(fout == stdout and stderr or stdout)
974 stdout:write("DynASM -- ", _info.description, ".\n")
975 stdout:write("DynASM ", _info.version, " ", _info.release, " ", _info.url, "\n")
976 stdout:write[[
1005 stdout:write(format("%s version %s, released %s\n%s\n\n%s",
1072 if g_opt.dumpdef > 0 then return dumpdef(stdout) end
/PHP-8.1/ext/standard/tests/file/
H A Dbug45303.phpt5 $fd = fopen("php://stdout","a");
/PHP-8.1/ext/standard/tests/general_functions/
H A Dproc_open_redirect.phpt49 echo "\nWith inherited stdout:\n";
80 With inherited stdout:
H A Dgh12655.phpt8 1 => [ "pipe", "w" ], // stdout is a pipe that the child will write to
/PHP-8.1/ext/zlib/tests/
H A Dzlib_filter_deflate.phpt9 $fp = fopen('php://stdout', 'w');
H A Dzlib_filter_inflate.phpt9 $fp = fopen('php://stdout', 'w');
H A Dzlib_filter_deflate2.phpt9 $fp = fopen('php://stdout', 'w');
/PHP-8.1/ext/bz2/tests/
H A Dbz2_filter_compress.phpt9 $fp = fopen('php://stdout', 'w');
H A Dbz2_filter_decompress.phpt9 $fp = fopen('php://stdout', 'w');
/PHP-8.1/sapi/phpdbg/
H A Dtest.php6 $stdout = fopen("php://stdout", "w+"); variable
/PHP-8.1/sapi/cli/
H A Dphp_cli.c267 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cli_single_write()
268 if (ret == 0 && ferror(stdout)) { in sapi_cli_single_write()
317 if (fflush(stdout)==EOF && errno!=EBADF) { in sapi_cli_flush()
373 fflush(stdout); in sapi_cli_deactivate()
878 fflush(stdout); in do_cli()
882 fprintf(stdout, "Executing for the first time...\n"); in do_cli()
883 fflush(stdout); in do_cli()
1142 fprintf(stdout, "Finished execution, repeating...\n"); in do_cli()
1143 fflush(stdout); in do_cli()
1238 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in WinMain()
/PHP-8.1/ext/openssl/tests/
H A Dstream_server_reneg_limit.phpt80 list($stdin, $stdout, $stderr) = $pipes;
92 fclose($stdout);

Completed in 32 milliseconds

123