This is very similar to Unix common 'printenv'. http://code.google.com/p/phantomjs/issues/detail?id=271