Hi, Yes sure you are right, but there was some other code which I replaced with printf to show where the problem lies. The printf not in the actual code, only in the e-mail :). I'm very sure that the problem lies in the ret != NULL. Function zend_parse_parameters() puts a strange value in ret, when the argument is not supplied in PHP. But I'll try gdb to see if I can find where the problem is coming from.
Thanks for replying anyway, Arnold Michael Wallner wrote: > Arnold Daniels wrote: > > >> if (ret != NULL) { >> printf('1'); >> } >> > > '1' is 0x00000031, use "1" and you'll get a real memory address to print. > >