Logo

Php Questions Set 18:

Quiz Mode

In which version of PHP was Type Hinting introduced?

1
2
3
4

Solution:

 Which version of PHP introduced class type hints? 

1
2
3
4

Solution:

The mysqlInd extension was introduced in which PHP version?

1
2
3
4

Solution:

What will be the output of the following:

if (-2) {
echo "This is a Sunny Day!";
} else {
echo "Today is Monday!";
}

Solution:

 What is the full form of DNS? 

1
2
3
4

Solution:

Which PHP function can be used to get the current memory usage?

1
2
3
4

Solution:

 Which one of the following function is capable of reading a specific number of characters from a file?

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:

 Which function is used to split a string into a series of substrings, with each string boundary is determined by a specific separator? 

 

1
2
3
4

Solution:

 Which of the following advanced OOP features is/are not supported by PHP? 

 i) Method overloading
ii) Multiple Inheritance
iii) Namespaces
iv) Object Cloning

1
2
3
4

Solution: