"> What will be the output of the following PHP code ?<?php$m

Home » PHP » PHP Variables » Question
  1. What will be the output of the following PHP code ?
    <?php
    $m = 31, 14, 15, 61;
    echo "$m";
    ?>
    1. Nothing
    2. Error
    3. 61
    4. 31
    5. None of these
Correct Option: B

In C you won’t get an error but in PHP you’ll get a syntax error.



Your comments will be displayed only after manual approval.