Logo

Php Questions Set 23:

Quiz Mode

  How many types of filtering are present in PHP? 

1
2
3
4

Solution:

 How many predefined exceptions does SPL provide access to?
 

1
2
3
4

Solution:

 Which version introduced the function error_get_last()? 

1
2
3
4

Solution:

_____ function sends an email using a PHP script.

1
2
3
4

Solution:

What will be the output of the following PHP code?

1
2
3
4

Solution:

 Which one of the following functions finds the last occurrence of a string, returning its numerical position? 

1
2
3
4

Solution:

Which one of the following functions can be used to concatenate array elements to form a single delimited string? 

1
2
3
4

Solution:

 What will be the output of the following code?

<?php
   echo lcfirst("My name is Sarthak");
?>

1
2
3
4

Solution:

The practice of hiding the internal implementation details of an application and exposing only the essential features through well-defined interfaces is known as 

1
2
3
4

Solution: