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

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

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 1.9.9 (beta)
    • 1.9.8 (beta)
    • 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.

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

              Created:
              Updated:
              Resolved: