Command Line controller compatibility with PHP 5.4