1--TEST-- 2getenv() basic tests 3--ENV-- 4FOO=bar 5--FILE-- 6<?php 7 8var_dump(getenv("FOO")); 9var_dump(getenv()["FOO"]); 10 11echo "Done\n"; 12?> 13--EXPECT-- 14string(3) "bar" 15string(3) "bar" 16Done 17