| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2004-05-10 22:15 UTC] dickmeiss@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 00:00:01 2025 UTC | 
Description: ------------ I am using the yaz_record funtion to return an individual record from the query. I have specified the 'array' type as my 3rd parameter. I am consistently getting a null result. When I specify the type as 'string' or 'raw', everything works well. Reproduce code: --------------- $conn = yaz_connect(blpcz.bl.uk:21021/BLPC-ALL, array('persistent' => false)); yaz_search($conn, 'rpn', $phrase); yaz_wait(); $hits = yaz_hits($conn); echo "I have searched, returning $hits records ... "; $record = yaz_record($conn, 1, 'array'); print_r($record); yaz_close($conn); Expected result: ---------------- An associative array Actual result: -------------- null