zimbra-api / soap-api

Zimbra SOAP client in PHP language
BSD 3-Clause "New" or "Revised" License
62 stars 48 forks source link

Non compatible with PHP 7 #32

Open Getuser31 opened 6 years ago

Getuser31 commented 6 years ago

Hi,

Actually we encounter an issue by migrate our application to PHP 7. The Zimbra connection is broken and always return

Warning: count(): Parameter must be an array or an object that implements Countable

It because you often user this kind of stuff: $sender->getSearches()->count() instead of check is variable not null or empty.

Have you planned to update code for php 7 or this package is abandoned?

Thanks for your attention, have a nice day