PHP 对这段代码没有任何问题:
    interface IDateTimeProvider
    {
        public function date($format);
        public function time();
    }
    class DateTimeProvider implements IDateTimeProvider
    {
        public function date($format)
        {
            return date($format);
        }
        public function time()
        {
            return time();
        }
    }
date() 和 time() 函数是在该类中定义的......所以只要我将它保存在一个类中,我就可以使用预先存在的 PHP 函数命名我的函数,如 date()、time() 或 ob_start ()?