ID: 33846 User updated by: dyrex at poczta dot onet dot pl Reported By: dyrex at poczta dot onet dot pl Status: Bogus Bug Type: *Graphics related Operating System: Windows PHP Version: 4.4.0 New Comment:
I think it is ok. If ITC field was e.g "South America" the result is array (at least it works in that way for keyword). I've even tried to call itcparse and in the next line call print_r. Several fields were printed but 2#092 was not printed. Maybe iptcparse read predefined list of IPTC fields ? Previous Comments: ------------------------------------------------------------------------ [2005-07-24 23:55:09] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php your code is wrong probably you wanted isset() instead of is_array(). ------------------------------------------------------------------------ [2005-07-24 23:52:57] dyrex at poczta dot onet dot pl Description: ------------ when i've used iptcparse for picture where 2#092 (sublocation) field is set iptcparse does not put field value in output array. In my sourcecode $user3 is empty Reproduce code: --------------- (is_array($iptc['2#92'])) && ($user3.=implode(" ", $iptc['2#92'])); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33846&edit=1