Nette\Environment variables test
Getting variable 'foo':
NULL
Getting variable 'tempDir':
InvalidStateException: Unknown environment variable 'appDir'.
Defining constant 'APP_DIR':
Getting variable 'appDir':
string(6) "/myApp"
Getting variable 'tempDir' #2:
string(11) "/myApp/temp"
Setting variable 'test'...
Getting variable 'test':
string(11) "/myApp/test"
Setting circular variables...
Getting circular variable:
InvalidStateException: Circular reference detected for variables: foo, foobar, bar.
Exporting constant 'helloWorld'...
Constant 'HELLO_WORLD':
string(6) "Hello!"