[Xapian-devel] More weirdness with PHP bindings
Charlie Hull
charlie at juggler.net
Tue Apr 3 15:40:50 BST 2007
Olly Betts wrote:
> On Tue, Apr 03, 2007 at 03:22:14PM +0100, Charlie Hull wrote:
>> and with that code, we get the correct terms. So the bug only concerns
>> the way get_matching_terms is wrapped (and only appears under
>> windows)... strange.
>
> How odd. What if you take Xapian out of the equation and run something
> like:
>
> <?
> function foo() { return array("is", "there"); }
> $terms = join(" ", foo());
> for ($i=0; $i<strlen($terms); $i++) echo $c=ord($terms[$i]), ' ', ($c>31?$terms[$i]:''), "\n";
> ?>
>
> Cheers,
> Olly
>
I get:
105 i
115 s
32
116 t
104 h
101 e
114 r
101 e
C
More information about the Xapian-devel
mailing list