PHP Functions Mcqs

Our collections of Multiple choice questions and answers focuses on study of PHP Functions. These questions are chosen from a collection of most authoritative and best reference books on PHP Language. Our aim is to prepare an individual for competitive exams like NTS, GAT, ECAT, University and College entrance exams and various tests and job interviews. One should practice our Mcqs to assimilate PHP Functions Topic comprehensively.

2.
What will be the output of the following PHP code?

B is executedb is executedb is executed

B is executeda is executed

A is executed

B is executeda is executedb is executed

3.
What will be the output of the following PHP code?

5 + 10 = 15<br/>2 + 4 = 6<br/>7 + 13 = 20

7 + 13 = 20<br/>5 + 10 = 15<br/>2 + 4 = 6

5 + 10 = 15<br/>7 + 13 = 20<br/>2 + 4 = 6

5 + 10 = 20<br/>7 + 13 = 6<br/>2 + 4 = 15

4.
What will be the output of the following PHP code?

Original Value is 15

Original Value is 15<br/>Original Value is 21

Original Value is 15<br/>Original Value is 15

None Of the mentioned

5.
What will be the output of the following PHP code?

Returned value from the function : $return_value

Error

Returned value from the function : 30

Returned value from the function :

error: You are not allowed to do so.....
0Shares
0
Scroll to Top