Programming - PHP
41.
Which of the following variable is used to get user's browser and operating system details in PHP ?
Answer
Answer :
Option A42.
Which of the following PHP functions can be used to generate unique id based on the microtime ?
Answer
Answer :
Option A44.
Which one of the following is the correct way of declaring a namespace ?
Answer
Namespaces are declared using the namespace keyword. A file containing a namespace must declare the namespace at the top of the file before any other code - with one exception: the declare keyword.
Answer :
Option AExplanation :
Namespaces are declared using the namespace keyword. A file containing a namespace must declare the namespace at the top of the file before any other code - with one exception: the declare keyword.
45.
Which of the following method acts as a destructor function in a PHP class ?
Answer
Answer :
Option BJump to page number :