mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
is_countable?!
This commit is contained in:
parent
43fe12af13
commit
a641b3103a
10 changed files with 39 additions and 14 deletions
|
|
@ -60,6 +60,10 @@ class JSONDisplayHandler
|
|||
*/
|
||||
protected static function _isNumericArray($array)
|
||||
{
|
||||
if (!is_countable($array))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
if (!is_array($array) || !count($array))
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue