Hello l0t3k,
never ever mix static and non static methods!
The only reason this is possible is for having BC for old
bullshit concepts. Apart from that use ZEND_ACC_ALLOW_STATIC
if you really want that behavior but before you do think
twice and again and then again if there is no correct way...
m
Quoting l0t3k <[EMAIL PROTECTED]>:
> in my extension, i have a class which has methods which work slightly
> differently depending on whether or not they are called statically.
> as an example :
>
>$original = new UnicodeString("HELLO WORLD","utf8");
>$lower = UnicodeString::toLowerCase($o
in my extension, i have a class which has methods which work slightly
differently depending on whether or not they are called statically.
as an example :
$original = new UnicodeString("HELLO WORLD","utf8");
$lower = UnicodeString::toLowerCase($original);/* returns a new copy
*/
$lower
in my extension, i have a class which has methods which work slightly
differently depending on whether or not they are called statically.
as an example :
$original = new UnicodeString("HELLO WORLD","utf8");
$lower = UnicodeString::toLowerCase($original);/* returns a new copy
*/
$lower