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_env.php
blob
d5384ce3d64b8dfb5e31c67f3adae8b2852d20e4
1
<
?php
2
3
if
(
PHP_SAPI
!==
'cli'
) {
4
exit
(
1
);
5
}
6
7
for
(
$i
=
1
;
$i
<
count
(
$argv
);
$i
++
) {
8
fprintf
(
STDOUT
,
"
%s
"
,
getenv
(
$argv
[
$i
] ) );
9
10
if
(
$i
+
1
<
count
(
$argv
) ) {
11
fprintf
(
STDOUT
,
"
\n
"
);
12
}
13
}