hi i got a question
if i had $ErrorMsG[] = function
and the function returned nuthing or false
if(is_array($ErrorMsG)) will it be true?
im trying to determine this but in some code i have but i have reached the point where im re-coding just to find out if its an error on my path or that the code syntaxs is rong
KEndall
FALSE ARRAY!
Moderator: General Moderators
why don't you just try it?
Code: Select all
<?php
function getFalse()
{
return FALSE;
}
$ErrorMsG[] = getFalse();
if (!is_array($ErrorMsG))
echo 'not an array';
else
echo var_dump($ErrorMsG);
?>