Merge pull request #630 from yitam/issue72

Use empty rather than sizeof (issue with PHP 7.2)
This commit is contained in:
Jenny Tam 2017-12-14 16:49:31 -08:00 committed by GitHub
commit f22185b763
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,7 +136,7 @@ function connect($options = array())
{
include('MsSetup.inc');
if (sizeof($options) > 0) {
if (!empty($options)) {
$connectionOptions = array_merge($connectionOptions, $options);
}