Hi! Could we please enable some services and cookies to improve your experience and our website?
Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code
<?php
$integer = 10;
$double = 3.14;
$boolean = true;
$string = "こんにちは";
$array = [1, 2, 3];
$object = new stdClass();
$NULL = NULL;
echo gettype($integer) . "\n";
echo gettype($double) . "\n";
echo gettype($boolean) . "\n";
echo gettype($string) . "\n";
echo gettype($array) . "\n";
echo gettype($object) . "\n";
echo gettype($NULL) . "\n";
?>