Debian Codegraph @

tests/phpunit/includes/shell/bin/stdout_stderr.php

raw symbols SCIP
1 <?php
2
3 if ( PHP_SAPI !== 'cli' ) {
4 exit( 1 );
5 }
6
7 file_put_contents( "php://stdout", $argv[1] );
8 if ( isset( $argv[2] ) ) {
9 file_put_contents( "php://stderr", $argv[2] );
10 }