PHP QUIZ
1 .
Which one of the following is the correct abstract method?

Correct Answer : Option (D)

abstract public function write();
  Show Answer
2 .
Which of the following array represents an array with a numeric index?

Correct Answer : Option (A)

Numeric Array
  Show Answer
3 .
In mail($param2, $param2, $param3, $param4), the $param2 contains:

Correct Answer : Option (D)

The subject
  Show Answer
4 .
Which of following function return 1 when output is successful?

Correct Answer : Option (B)

print ( )
  Show Answer
5 .
Which function is used to strip whitespace (or other characters) from the beginning and end of a string?

Correct Answer : Option (C)

trim
  Show Answer
6 .
Which of the following is not true?

Correct Answer : Option (C)

PHP applications can not be compile
  Show Answer
7 .
If a boolean variable $ alive= 5;

Correct Answer : Option (B)

$ alive is true
  Show Answer
8 .
Which of the following PHP functions accepts any number of parameters?

Correct Answer : Option (A)

 func_get_args()
  Show Answer
9 .
Which of following is not a Superglobals in PHP?

Correct Answer : Option (D)

$_PUT
  Show Answer
10 .
What will be the output of the following PHP code?
 
    <?php
    $a = 5;
    $b = 5;
    echo ($a === $b);
    ?>

Correct Answer : Option (A)

1
  Show Answer