Question:<?php
$item = 43;
printf("The variable $item is of type integer: %d \n", is_integer($item));
printf("The variable $item is of type array: %d \n", is_array($item));
printf("The variable $item is numeric: %d \n", is_numeric($item));
?>
This code returns the following:
A The variable $item is of type integer: 1
The variable $item is of type array: 0
The variable $item is numeric: 1
B The variable $item is of type array: 0
The variable $item is of type integer: 1
The variable $item is numeric: 1
C The variable $item is of type array: 0
The variable $item is of type integer: 1
The variable $item is numeric: 0
D The variable $item is of type array: 0
The variable $item is of type integer: 1
The variable $item is numeric.