fix error for PHP 5.3
Merge branch 'patch'
fix bug pointed by PHP Analyzer
Merge branch 'patch'