We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Its about the function count().
If made this change, its fine to go:
} while ($is_get_more_data || call_user_func_array($get_more_data_cb, array((is_countable($data) && count($data)), $c, &$userData)));
But PHP < 7, doesnt have this funcion is_countable().
And i use this on top of the class:
if (!function_exists('is_countable')) { function is_countable($var) { return (is_array($var) || $var instanceof Countable); } }
Any ideas ?
Great Work ;)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Its about the function count().
If made this change, its fine to go:
} while ($is_get_more_data || call_user_func_array($get_more_data_cb, array((is_countable($data) && count($data)), $c, &$userData)));
But PHP < 7, doesnt have this funcion is_countable().
And i use this on top of the class:
if (!function_exists('is_countable')) {
function is_countable($var) {
return (is_array($var) || $var instanceof Countable);
}
}
Any ideas ?
Great Work ;)
The text was updated successfully, but these errors were encountered: