Choose a topic to test your knowledge and improve your PHP skills
Which one of the following lines need to be uncommented or added in the php.ini file so as to enable mysqli extension?
In which version of PHP was MySQL Native Driver(also known as mysqlnd) introduced?
Which one of the following statements is used to create a table?
Which one of the following statements instantiates the mysqli class?
Which one of the following methods can be used to diagnose and display information about a MySQL connection error?
Which method returns the error code generated from the execution of the last MySQL function?
If there is no error, then what will the error() method return?
Which one of the following statements should be used to include a file?
Which one of the following methods is responsible for sending the query to the database?
Which one of the following methods recuperates any memory consumed by a result set?
Which of the methods are used to manage result sets using both associative and indexed arrays?
Which one of the following method is used to retrieve the number of rows affected by an INSERT, UPDATE, or DELETE query?
Which version of MySQL introduced the prepared statements?
Which of the following methods is used to execute the statement after the parameters have been bound?
Which one of the following methods is used to recuperating prepared statements resources?
Which method retrieves each row from the prepared statement result and assigns the fields to the bound results?
Which method rolls back the present transaction?
Which one of the following is not a valid class name?
Fill in the blank with the best option. An Object is a/an ________ of a class.
Which version of PHP introduced the visibility keywords i.e public, private, and protected?
Which characters is used to access property variables on an object-by-object basis?
Code that uses a class, function, or method is often described as the ____
Which keyword precedes a method name?
If you omit the visibility keyword in your method declaration, by default the method will be declared as _____
Which function is used to determine whether the variables value is either TRUE or FALSE?
Which version of PHP introduced class type hints?
Inheritance is the means by which one or more classes can be derived from a/an ___________ class.
What should be used to refer to a method in the context of a class rather than an object you use?
Prior to which version of PHP did constructors took the name of the enclosing class.
Which method or property can only be accessed from within the enclosing class? Even subclasses have no access.
A mutator method is also called as ___________
PHP stands for -
Who is known as the father of PHP?
Variable name in PHP starts with -
Which of the following is the default file extension of PHP?
Which of the following is not a variable scope in PHP?
Which of the following is correct to add a comment in php?
Which of the following is used to display the output in PHP?
Which of the following is the use of strlen() function in PHP?
Which of the following is the use of strpos() function in PHP?
Which of the following starts with __ (double underscore) in PHP?
Which of the following is the correct way to create a function in PHP?
What does PEAR stands for?
Which of the following PHP function is used to generate unique id?
Which of the following is the correct way of defining a variable in PHP?
Which of the following is the correct use of the strcmp() function in PHP?
What is the use of fopen() function in PHP?
What is the use of isset() function in PHP?
What is the use of sprintf() function in PHP?