Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9197

"array_fill_keys" PHP function is missing in declared supported PHP version

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.14
    • Fix Version/s: 2.0.15rc1
    • Component/s: API (A)
    • Labels:

      Description

      Function "array_fill_keys" is supported for (PHP 5 >= 5.2.0)
      http://php.net/manual/en/function.array-fill-keys.php

      Zabbix 2.0 doc requires PHP 5.1.6 or later
      https://www.zabbix.com/documentation/2.0/manual/installation/requirements#software

      But in ZBX-6174 we've started to use the function for 2.0 branch too (for 2.0.14).

      We have to resolve this case.
      Of course we could just update our doc, but would be that correct ?
      It for example would be a problem for CentOS5 which has PHP 5.1.6 as latest version.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            zalex_ua Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: