File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/phpt-env.phpt

Recommend this page to a friend!
  Classes of Paulo Henrique  >  symfony-dual-login  >  bin/.phpunit/phpunit-7.5-0/tests/end-to-end/phpt-env.phpt  >  Download  
File: bin/.phpunit/phpunit-7.5-0/tests/end-to-end/phpt-env.phpt
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: symfony-dual-login
API to get user details using OAuth authentication
Author: By
Last change:
Date: 2 months ago
Size: 196 bytes
 

Contents

Class file image Download
--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

For more information send a message to info at phpclasses dot org.