[DGD] Re: Undefined function hook
Mikael Lind
mikkelin at gmail.com
Mon Jul 9 11:38:00 CEST 2007
Hello again,
On 09/07/07, Mikael Lind <mikkelin at gmail.com> wrote:
> static mixed call_other(mixed obj, string func, mixed args...)
> {
> if (typeof(obj) == T_STRING) {
> /* find or compile named object */
> }
> return function_object(func, obj)
> ? ::call_other(obj, func, args...)
> : ::call_other(obj, "call_missing", func, args);
> }
The line:
: ::call_other(obj, "call_missing", func, args);
should probably use ellipsis:
: ::call_other(obj, "call_missing", func, args...);
Regards,
Mikael
More information about the DGD
mailing list