Fixed the Console code on PHP 5.3

The PR #7657 introduced a requirement on PHP 5.4 by mistake.