A
Q. What will be the output of the following PHP code?
Code:
<?php
$color = "maroon";
$var = $color[2];
echo "$var";
?>
$color = "maroon";
$var = $color[2];
echo "$var";
?>
- Correct Answer - Option(C)
- Views: 7
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.