yiisoft/yii2 — pull request #3367 by MethyleneGaming (2014-05-06 06:25:02+00:00)
Title: HHVM compatibility Fixes for Yii 2 Console Application 

testing Yii 2 in HHVM I came across this issue.

https://github.com/yiisoft/yii2/issues/2926

It seems that the problem that is within HHVM when STDOUT etc. are called in a namespaced file it points to a null instance of STDOUT|STDIN, but you can not redefine it because its it already defined.

This is fixed by calling the global namespace of STDOUT etc. This might be fixed in HHVM but this makes the console application work.