1.
In PHP, which of the following functions is used to check if a value exists in an array?
2.
In PHP, which of the following statements about the readfile() function is correct?
3.
What is the output of the following PHP code:
<?php
for ($i = 0; $i <= 10; print ++$i)
{
print ++$i;
}
?>
4.
What is the output of the following PHP code:
<?php
for ($z++; $z == 1; $z = 2)
print "Inside loop
";
print "After loop";
?>
5.
In PHP, which of the following statements does not combine strings $a1 and $a2 into a single string ?
6.
In PHP, which of the following is used to compare two strings?
7.
What is the use of the function in the following PHP code:
<?php function someFunc($var)
{
return(is_numeric($var) && $var % 2 == 0);
}
);
?>
8.
In PHP, which of the following libraries is used to process the images?
9.
In PHP, which of the following methods is used to get information from a form that is submitted using the 'get' method?
10.
In PHP, the number of methods available for the exception class is _________.