>It is possible to name a method like an existing function, I'm not sure
>what you are doing exactly but it works here.
I've tried: STRING_METHOD(String, trim) {...} (Yes, I'm trying to build a
string class)
that means that I also redefinied the Macros. Then I've changed the Macros from
PHP_METH
...Just forgot to CC...
>you can use any function name as method name without a clash. you just
>cannot use language constructs that aren't real functions like
>"empty", "echo" or "require" as method names.
>this question better belongs to php-general, btw.
Sorry if I didn't made myself clear eno