Compatibility to PHP5.3