This is the original issue: https://code.google.com/p/yii/issues/detail?id=1120&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Stars%20Summary
Not sure if it still applies for PHP 5.4.