fixed php 5.3 compatible
Merge branch 'fix_php_5.3' into develop