<?php
$number = 100; // Integer
$price = 99.99; // Float
$name = "PHP"; // String
$is_active = true; // Boolean
?>
Explanation:
PHP supports int, float, string, boolean, array, object, null types.
<?php
$number = 100; // Integer
$price = 99.99; // Float
$name = "PHP"; // String
$is_active = true; // Boolean
?>
Explanation:
PHP supports int, float, string, boolean, array, object, null types.
Leave a Reply