[wsf-c-dev] [PHP] WSService API additions

James Clark james at wso2.com
Tue Feb 13 00:24:34 PST 2007


> > 2. When the user specifies a function foo with the Soap ext API, we
> > implement this by wrapping foo in a function foo_wrapper before giving
> > it to our API. foo_wrapper calls foo with the same arguments that
> > foo_wrapper gets, but it uses the compatibility function (from 1) to
> > convert the return value.  I don't know how we would handle creating
> > foo_wrapper dynamically. Does php have closures?
> >   
> PHP does not support closures.

It looks like create_function() is the way to create the wrapper.

James






More information about the Wsf-c-dev mailing list