Q. What will be the output of the following PHP code?
Code:<?php
$Laptops = array(
"MAC",
"Lenovo",
"Dell",
"HP"
);
echo gettype($Laptops);
?>
β
Correct Answer: (A)
array
<?php
$Laptops = array(
"MAC",
"Lenovo",
"Dell",
"HP"
);
echo gettype($Laptops);
?>
You must be Logged in to update hint/solution