note 117619 rejected from function.is-array by cmb
| From: | cmb@php.net | Date: | Thu, 09 Jul 2015 11:11:34 +0000 |
| Subject: | note 117619 rejected from function.is-array by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-203069@lists.php.net to get a copy of this message | ||
Note Submitter: abhardwaj dot aastha at gmail dot com
----
functions like is_array,is_bool etc are generally used in if,elseif statements.Since they return a
Boolean value,then why cant we store that Boolean value in a variable or display it??
$a=10;
$b=is_array ($a);
echo $b;
This code is not showing any error but not displaying the Boolean value.What is the reason behind
it??