Changes between versions 0.42 and 0.43 (Thu May 6 14:19:56 2004):
$apdu = $conn->scan('@attr 1=1003 kern'); $status = $apdu->scanStatus(); if ($status == 6) print Dumper($apdu->diag()); $count = $apdu->numberOfEntriesReturned(); $term = $apdu->entries()->[0]->termInfo()->term()->general(); $hits = $apdu->entries()->[0]->termInfo()->globalOccurrences();
Subsequent releases will support more corners of the Scan specification (e.g. displayTerm and friends), and present a much nicer API with a ZOOM-like ScanSet object. See zoom.z3950.org/api/zoom-1.4.html#3.6