Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

gettype() function in PHP

<?php

$data = array(1, 1., NULL, new stdClass, 'foo');

foreach ($data as $value) {
    echo gettype($value), "
";
}

?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #function #PHP
ADD COMMENT
Topic
Name
5+8 =