Fixed: compatibility with php 7.2 for old branch
This release makes the library compatible with php 7.2 by removing the deprecation warnings.
NB moving to version 4 of the library is the recommended option unless you absolutely can not upgrade, as it comes with many improvements and is fully API compatible with version 3.