Search
 
SCRIPT & CODE EXAMPLE
 

PHP

gettype() function in PHP

<?php

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

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

?>
Comment

PREVIOUS NEXT
Code Example
Php :: for each multiple php 
Php :: laravel app running in console 
Php :: german locale php 
Php :: send json reponse php 
Php :: storepublicly laravel 
Php :: php input time validation 
Php :: run laravel cron job on cpanel 
Php :: php url parameters 
Php :: laravel tinker hash password 
Php :: how to delete item from array php 
Php :: php super global variables 
Php :: Update First and Last Day of Previous Month with Carbon 
Php :: fillable property to allow mass assignment 
Php :: php add custom button in wordpress editor 
Php :: php pdo sql server connect 
Php :: create laravel 8 resource route 
Php :: showing custom post type in wordpress website 
Php :: laravel model soft delete 
Php :: Show all laravel valet folders 
Php :: symfony messenger rabbitMQ 
Php :: laravel vue browser cache auto clear 
Php :: orwhere in wherehas laravel 
Php :: get node url from id twig 
Php :: php string to date 
Php :: configuration laravel dompdf 
Php :: php get filename 
Php :: laravel eloquent duplicate record 
Php :: php get last index of array 
Php :: laravel copy 
Php :: laravel collection to json 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =