☰
Debian Codegraph
@
1:1.43.9+dfsg-1
/
/
tests
/
phpunit
/
includes
/
shell
/
bin
/
echo_env.php
☽
☼
tests/phpunit/includes/shell/bin/echo_env.php
code
plain
raw
symbols
SCIP
GPL-2.0+
2001-2024, MediaWiki developers
debian/copyright
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
}