Home » PHP » PHP Constants » Question
  1. What will be the output of the following PHP code ?
    <?php
    define("ATTENTION", "Interview mania is good website.", true);
    echo ATTENTION;
    echo "\n";
    echo ATTENTION;
    ?>
    1. Error
    2. Interview mania is good website.
    3. Interview mania is good website.
      Interview mania is good website.
    4. Nothing
    5. None of these
Correct Option: C

Since the third parameter is true in define("ATTENTION", "Interview mania is good website.", true) is true ATTENTION becomes case insensitive.



Your comments will be displayed only after manual approval.