anchor.diff:  -spec init(Context :: context()) -> ok.
   
   init(Context) ->
  -    ephp_context:register_func(Context, <<"time">>, ?MODULE, time),
  -    ephp_context:register_func(Context, <<"date">>, ?MODULE, date),
  -    ephp_context:register_func(Context, <<"gmdate">>, ?MODULE, gmdate),
  +    Funcs = [
  +        time, date, gmdate,
  +        date_default_timezone_get,
  +        date_default_timezone_set
  +    ],
  +    lists:foreach(fun(Func) ->
  +        Name = atom_to_binary(Func, utf8),
  +        ephp_context:register_func(Context, Name, ?MODULE, Func)  
  +    end, Funcs), 
       ok. 
   
   -spec time(Context :: context()) -> integer().
  
positive.code:     TZ = "GMT",
      Date = calendar:now_to_universal_time({M,S,U}),
      date_format(Format, <<>>, {Timestamp, Date, TZ}).
  
  %% ----------------------------------------------------------------------------
  %% Internal functions
  
negative.code:     date/2,
      date/3,
      gmdate/2,
      gmdate/3,
      date_default_timezone_set/2,
      date_default_timezone_get/1
  ]).
  
  -include("ephp.hrl").
  