What will be the output of the following PHP code? [code] <?php $state = array ("Karnataka", "Goa", "Tamil Nadu", "Andhra Pradesh");

Lê Như Ý

New member
What will be the output of the following PHP code?
Code:
    <?php
    $state = array ("Karnataka", "Goa", "Tamil Nadu",
    "Andhra Pradesh");
    echo (array_search ("Tamil Nadu", $state) );
    ?>
A. True
B. 1
C. False
D. 2
 

Tìm kiếm

Back
Top