/opt/alt/php56/usr/share/pear/test/File_MARC/tests
Edit: /opt/alt/php56/usr/share/pear/test/File_MARC/tests/marc_field_004.phpt (937B)
--TEST--
marc_field_004: Add subfields to an existing field (corner case)
--SKIPIF--
--FILE--
getSubfields('a');
// we might get an array back; in this case, we want the first subfield
if (is_array($sf)) {
$field->insertSubfield($subfield1, $sf[0], true);
}
else {
$field->insertSubfield($subfield1, $sf, true);
}
// let's see the results
print $field;
print "\n";
?>
--EXPECT--
100 0 _ga little
_anothing
_zeverything