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:
AThe variable $item is of type integer: 1
The variable $item is of type array: 0
The variable $item is numeric: 1
BThe variable $item is of type array: 0
The variable $item is of type integer: 1
The variable $item is numeric: 1
CThe variable $item is of type array: 0
The variable $item is of type integer: 1
The variable $item is numeric: 0
DThe variable $item is of type array: 0
The variable $item is of type integer: 1
The variable $item is numeric.
Note: Not available