PHP Solve
PHP Solve
Integer:
(ii) Float : Floating point numbers represents numeric values with decimal
points (real numbers) or a number in exponential form. The range of floating
point values are 1.7E-308 to 1.7E+308.
(iii) String : A string is a sequence of characters. A string are declares using
single quotes or double quotes.
(iv) Boolean : The Boolean data types represents two values, true(1) or
false(0).
Code:
<?php
$a=11;
$b=11.22;
$c="Hello PHP";
$d=True;
var_dump($a);
var_dump($b);
var_dump($c);
var_dump($d);
?>
Output: