PHP Interview Practice #2

Q1. Which of the following is the correct way to define variables in PHP?







Q2. What is the use of isset() function in PHP?







Q3. What will be the output of the following program?

echo ucwords("welcome to programming path");






Q4. Which of the following function displays the information about PHP?







Q5. Which one is used to declare a global variable in PHP?







Q6. Which one is used to define constant variable in PHP?







Q7. Which of the following is used to delete/unset a variable in PHP?







Q8. Which one is use for set session in php?







Q9. Which one is use for set cookies in php?







Q10. Which one is use for start session in php?