diff options
author | Phie <phie@phie.ovh> | 2018-08-21 18:39:12 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2018-08-21 18:39:12 +0300 |
commit | 7d24cc0120859fc4e46b301c08effc97ddfbb1bb (patch) | |
tree | 94b5b52074022ceccd4c91073f217feaec38ca40 /vendor/phpunit/phpunit/tests/TextUI/phpt-env.phpt |
first commit for Carnet NC server
Diffstat (limited to 'vendor/phpunit/phpunit/tests/TextUI/phpt-env.phpt')
-rw-r--r-- | vendor/phpunit/phpunit/tests/TextUI/phpt-env.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/phpunit/phpunit/tests/TextUI/phpt-env.phpt b/vendor/phpunit/phpunit/tests/TextUI/phpt-env.phpt new file mode 100644 index 0000000..689cfe1 --- /dev/null +++ b/vendor/phpunit/phpunit/tests/TextUI/phpt-env.phpt @@ -0,0 +1,12 @@ +--TEST-- +PHPT runner should support ENV section +--ENV-- +FOO=bar +--FILE-- +<?php +if (isset($_SERVER['FOO'])) { + var_dump($_SERVER['FOO']); +} +?> +--EXPECTF_EXTERNAL-- +_files/phpt-env.expected.txt |