Hello,
thanks for the hint. It looks nice. Where could I learn more about
$class::$method() syntax? I was not successfull when searching in php
manual.
Btw. is it an intended behaviour that $class::$method() works in this
way? I mean that I would pressume that method is called in static
Karel Kozlik schreef:
Hello,
thanks for the hint. It looks nice. Where could I learn more about
$class::$method() syntax? I was not successfull when searching in php
manual.
er, dunno - I picked it up on the internals mailing list I think, you
might wnat to search that.
Btw. is it an
But there still remains two issues:
1. How to pass arguments to method? The number of arguments is different
for each method. So is the only way to construct a string containing the
arguments and use eval()? Or is there an another way?
then use call_user_func() and/or call_user_func_array()
Karel Kozlik schreef:
But there still remains two issues:
1. How to pass arguments to method? The number of arguments is different
for each method. So is the only way to construct a string containing the
arguments and use eval()? Or is there an another way?
then use call_user_func() and/or
Hello list!
I am using in my application dynamic method appending to class with
aggregate_methods() function. But this function is no more aviable in
php5 and runkit extension seems not to be maintained any more. So I
would like to replace it with something more common (__call method or so).
Karel Kozlik schreef:
Hello list!
I am using in my application dynamic method appending to class with
aggregate_methods() function. But this function is no more aviable in
php5 and runkit extension seems not to be maintained any more. So I
would like to replace it with something more
6 matches
Mail list logo