repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge "mediawiki.api: Remove console warning for legacy token type"
[mediawiki.git]
/
tests
/
phpunit
/
includes
/
shell
/
bin
/
echo_stdin.php
blob
be6207ec9aee7082bdb18670600c7d063a5b46e1
1
<
?php
2
3
if
(
PHP_SAPI
!==
'cli'
) {
4
exit
(
1
);
5
}
6
7
$input_data
=
stream_get_contents
(
STDIN
);
8
echo
$input_data
;