What will be the output of the following PHP code?
<?php
$names = array("Sam", "Bob", "Jack");
echo $names[0] . "is the brother of " . $names[1] . " and " . $names[1] . ".".$brother;
?>
- Sam is the brother of Bob and Bob) $brother
- Sam is the brother of Bob and Bob)
- $brother
- Error
(d).Error
need an explanation for this answer? contact us directly to get an explanation for this answer