Q.1.
What is the correct way to end a PHP statement?
Q.2.
Array values are keyed by ______ values (called indexed arrays) or using ______ values (called associative arrays). Of course, these key methods can be combined as well.
Q.3.
Which one of the following PHP function is used to determine a file’s last access time?
Q.4.
What does SPL stand for?
Q.5.
What is a correct way to add a comment in PHP?
Q.6.
PHP allows you to send emails directly from a script
Q.7.
Which is the right way of declaring a variable in PHP?
Q.8.
What is the correct way to open the file "time.txt" as readable?
Q.9.
What should be the correct syntax to write a PHP code?
Q.10.
Which one of the following is a form element?
Q.11.
Which of the following is correct about variable naming rules?
Q.12.
Which of the following is NOT a valid PHP comparison operator?
Q.13.
What array will you get if you convert an object to an array?
Q.14.
When defining identifier in PHP you should remember that ?
Q.15.
What is the name of scripting engine in PHP?
Q.16.
Which superglobal variable holds information about headers, paths, and script locations?
Q.17.
How many types of filtering are present in PHP?
Q.18.
Which of the following is correct about PHP?
Q.19.
Which version of PHP was added with Exception handling?
Q.20.
What are the advantages of PHP?