I came to comment here, as I reported the same bug and it was marked as duplicate, which it was.
Anyway, only after reporting the bug I noticed, that Zabbix itself tells, that it is not compatible with PHP7. Thus the whole Zabbix package should be withdrawn from Ubuntu 16.04 until it supports PHP7 or alternatively, Ubuntu 16.04 should support an official method to stay in PHP5.
I came to comment here, as I reported the same bug and it was marked as duplicate, which it was.
Anyway, only after reporting the bug I noticed, that Zabbix itself tells, that it is not compatible with PHP7. Thus the whole Zabbix package should be withdrawn from Ubuntu 16.04 until it supports PHP7 or alternatively, Ubuntu 16.04 should support an official method to stay in PHP5.
Reference: /www.zabbix. com/documentati on/3.0/ manual/ installation/ requirements
https:/
"PHP 5.4.0 or later PHP v7 is not supported yet."