Be compatible with PHP5.3.3.