|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33846 iptcparse does not read 2#092
Submitted: 2005-07-24 23:52 UTC Modified: 2005-07-25 01:25 UTC
From: dyrex at poczta dot onet dot pl Assigned:
Status: Not a bug Package: *Graphics related
PHP Version: 4.4.0 OS: Windows
Private report: No CVE-ID: None
 [2005-07-24 23:52 UTC] dyrex at poczta dot onet dot pl
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']));


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-24 23:55 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

your code is wrong probably you wanted isset() instead of is_array().
 [2005-07-25 01:25 UTC] dyrex at poczta dot onet dot pl
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 ?
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri May 29 21:01:25 2020 UTC