search for: argbase

Displaying 1 result from an estimated 1 matches for "argbase".

2004 Sep 15
1
Objects in PHP4
...gfaults. Some other small examples work. The only thing that strikes me about the above is that a default argument comes into play. And if I add `,1' after `"a"' it runs ok. Here is where the segfault happens, in the wrapper for Document::add_term: convert_to_string_ex(args[1-argbase]); argbase is 1, as is expected for a method on an object I think. I can't see what's going on, and it's way past my bedtime so I'm giving up for now. Incidentally, I've noticed we can probably easily add a "xapian_" prefix to all the PHP wrappers by running the glu...