is array — º¯¼ö°¡ ¹è¿ÀÎÁö È®ÀÎ |
|
|
 |
14³â Àü |
ÁÖ¾îÁø º¯¼ö°¡ ¹è¿ÀÎÁö È®ÀÎÇÕ´Ï´Ù.
bool is_array ( mixed $var )
var °¡ arrayÀ̸é TRUE, ¾Æ´Ï¸é FALSE¸¦ ¹ÝȯÇÕ´Ï´Ù.
<?php
$yes = array('this', 'is', 'an array');
echo is_array($yes) ? 'Array' : 'not an Array';
echo "\n";
$no = 'this is a string';
echo is_array($no) ? 'Array' : 'not an Array';
?>
http://docs.php.net/manual/kr/function.is-array.php |
|
̵̧ : 304 |
̵̧
¸ñ·Ï
|
|