[BUGFIX] PHP 5.4 unit test warnings