PHP QUIZ
1 .
Which of following variable assignment is 'by value' assignment in PHP ?

Correct Answer : Option (A)

$value1= $value? 
  Show Answer
2 .
How can we check the value of a given variable is alphanumeric?

Correct Answer : Option (A)

ctype_alnum() 
  Show Answer
3 .
How do I check if a given variable is empty?

Correct Answer : Option (B)

empty()
  Show Answer
4 .
Identify the variable scope that is not supported by PHP ?

Correct Answer : Option (C)

Hidden variables 
  Show Answer
5 .
What is the correct way to create a function in PHP?

Correct Answer : Option (B)

function myFunction()
  Show Answer
6 .
Which version of PHP introduced Try/catch Exception ?

Correct Answer : Option (B)

PHP 5
  Show Answer
7 .
What is the correct way to open the file "footer.txt" as readable?

Correct Answer : Option (A)

fopen("footer.txt","r"); 
  Show Answer
8 .
Which one of the following PHP functions can be used to find files ?

Correct Answer : Option (B)

glob()
  Show Answer
9 .
The left association operator % is used in PHP for ?

Correct Answer : Option (C)

bitwise or
  Show Answer
10 .
In PHP from the following which is the best all-purpose way of comparing two strings ?

Correct Answer : Option (D)

Using strcmp()
  Show Answer