Zabbix uses __autoload, which is deprecated and conflicts with other autoloaders

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Trivial
    • 1.9.9 (beta)
    • Affects Version/s: 1.9.8 (beta)
    • Component/s: Frontend (F)
    • None

      When trying to use the Zabbix classes in another project which uses an autoloader, this fails because zabbix is overwriting any autoloaders by implementing __autoload.

      Since __autoload is deprecated, I refactored the autoloader to use spl_autoload_register. See the attached patch.

            Assignee:
            Unassigned
            Reporter:
            Timo A. Hummel
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: