/php-src/benchmark/ |
H A D | shared.php | 4 public $stdout; variable in ProcessResult 17 $stdout = $pipes[1]; 22 stream_set_blocking($stdout, false); 29 $read = [$stdout, $stderr]; 37 if ($stream === $stdout) { 38 $result->stdout .= $chunk; 44 $stdoutEof = $stdoutEof || feof($stdout); 48 fclose($stdout); 53 fwrite(STDOUT, $result->stdout);
|
/php-src/ext/standard/tests/filters/ |
H A D | bug81475.phpt | 5 $stdout = fopen('php://stdout', 'wb'); 6 stream_filter_append($stdout, 'string.toupper'); 7 var_dump(stream_isatty($stdout));
|
/php-src/ext/standard/tests/streams/ |
H A D | proc_open_bug51800_right.phpt | 16 $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 D | proc_open_bug51800_right2.phpt | 10 $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 D | bug64770.phpt | 8 1 => array('pipe', 'w'), // stdout
|
/php-src/sapi/cli/tests/ |
H A D | gh8827-002.phpt | 16 $stdout = fopen('php://stdout', 'r'); 19 ob_start(function ($buffer) use ($stdout) { 20 fwrite($stdout, $buffer); 33 var_dump(@fopen('php://stdout', 'a'));
|
H A D | gh8827-001.phpt | 24 // not printed if stdout is closed 25 var_dump(@fopen('php://stdout', 'a'));
|
H A D | std_streams.phpt | 22 var_dump(ftell(fopen("php://stdout", "w")));
|
/php-src/ext/ffi/tests/ |
H A D | trampoline_reset.phpt | 27 extern FILE *stdout; 35 $ffi->fprintf($ffi->stdout, "FFI\n"); 36 $ffi->fflush($ffi->stdout);
|
H A D | bug77706.phpt | 19 extern FILE *stdout; 46 $ffi->fprintf($ffi->stdout); 52 $ffi->fprintf($ffi->stdout, 123, "Hello %s\n", "World");
|
/php-src/sapi/embed/ |
H A D | php_embed.c | 45 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() 198 _setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
|
/php-src/sapi/fpm/tests/ |
H A D | log-bwd-multiple-msgs-stdout-stderr.phpt | 2 FPM: Buffered worker output decorated log with multiple continuous messages (stdout/stderr mixed) 27 file_put_contents('php://stdout', "msg 1 - ");
|
/php-src/ext/gd/tests/ |
H A D | bug39082.phpt | 2 Bug #39082 (Output image to stdout segfaults).
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | dynasm.lua | 55 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-src/ext/standard/tests/file/ |
H A D | bug45303.phpt | 5 $fd = fopen("php://stdout","a");
|
/php-src/ext/standard/tests/general_functions/ |
H A D | proc_open_redirect.phpt | 49 echo "\nWith inherited stdout:\n"; 80 With inherited stdout:
|
H A D | gh12655.phpt | 8 1 => [ "pipe", "w" ], // stdout is a pipe that the child will write to
|
/php-src/ext/zlib/tests/ |
H A D | zlib_filter_inflate.phpt | 9 $fp = fopen('php://stdout', 'w');
|
H A D | zlib_filter_deflate.phpt | 9 $fp = fopen('php://stdout', 'w');
|
H A D | zlib_filter_deflate2.phpt | 9 $fp = fopen('php://stdout', 'w');
|
/php-src/ext/bz2/tests/ |
H A D | bz2_filter_compress.phpt | 9 $fp = fopen('php://stdout', 'w');
|
H A D | bz2_filter_decompress.phpt | 9 $fp = fopen('php://stdout', 'w');
|
/php-src/sapi/cli/ |
H A D | php_cli.c | 255 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cli_single_write() 256 if (ret == 0 && ferror(stdout)) { in sapi_cli_single_write() 305 if (fflush(stdout)==EOF && errno!=EBADF) { in sapi_cli_flush() 361 fflush(stdout); in sapi_cli_deactivate() 852 fflush(stdout); in do_cli() 856 fprintf(stdout, "Executing for the first time...\n"); in do_cli() 857 fflush(stdout); in do_cli() 1122 fprintf(stdout, "Finished execution, repeating...\n"); in do_cli() 1123 fflush(stdout); in do_cli() 1217 _setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in WinMain()
|
/php-src/sapi/phpdbg/ |
H A D | test.php | 6 $stdout = fopen("php://stdout", "w+"); variable
|
/php-src/ext/openssl/tests/ |
H A D | stream_server_reneg_limit.phpt | 80 list($stdin, $stdout, $stderr) = $pipes; 92 fclose($stdout);
|