PHP Test

Exam Type: PHP MCQ Skill Test
Questions Type: Multiple Choice Questions
Total Questions: 30
Time Limit: 30 Minutes
Last Update June, 2025

Pass PHP Exam

75%
Total time

1 minute 2 seconds

Total time

1 correct answers

Total time

6 incorrect answers

Total time

6 not attempted

Start

PHP Quiz

Question 1 of 30
30:00

What is a type of PHP error severity? PHP Errors, There are following type levels of error severity to start with?

Note: Select more than 1 option as correct answer

The following functions can be used from Exception class?

Note: Select more than 1 option as correct answer

There are following categories of functions for POSIX-style regular expressions?

Note: Select more than 1 option as correct answer

How to approach static methods and properties, please choose correct answer? class Utilis { static public $numstudent = 0; }

Note: Select more than 1 option as correct answer

The ereg( ) function takes a pattern, a ____ , and an optional array?

How to drop a database in MySQL server?

Which of the following are Vaild variable names in PHP?

What are the Scope of variables include the following?

Note: Select more than 1 option as correct answer

Following functions change the format of a string, according to a series of special characters?

Note: Select more than 1 option as correct answer

What does array_pop($array) do?

Which MIME type needs to be used to send an attachment in mail?

What are the Scope of variables? (choose all that apply)

Note: Select more than 1 option as correct answer

Which functions can be used to determine if a file exists? (choose all that apply)

Note: Select more than 1 option as correct answer

By default, every database connection opened by a script is either explicitly closed by the user during runtime or released __ at the end of the script?

Which of the following MySQL fetch constants imply: if the columns are returned into the array having both a numerical index and the field name as the array index?

Which of the following modifiers are allowed for methods in an Interface? (choose all that apply)

Note: Select more than 1 option as correct answer

Xdebug is a PHP __, the information which Xdebug provides is about stack and functions with full parameter for user defined functions, memory allocation and support for infinite recursions.

When connecting to a MySQL database server, what are the main API options? (choose all that apply)

Note: Select more than 1 option as correct answer

The PDO_MYSQL Data Source Name (DSN) is composed of the following elements:

Note: Select more than 1 option as correct answer

Which is a callback function or object method taking the following parameters?

The global transaction is either ended by calling __ or by __ in case of an error?

What are the different forms of Polymorphism?

What are the main PHP API offerings for using MYSQL?

Which magic method is used to implement overloading in PHP?

Choose the correct PHP function that would give the size of a supported image file.

'Paamayim Nekudotayim' is also called :

What will be the output of the following code? echo (1234 == '1234 test' ? 'Equal' : 'Not equal' );

What would be the output of the following code? $str =

Which method is used to tweak an object’s cloning behavior?

How can you rename a file in PHP?

PHP Test Explained

© 2025 Skill Test Answer. All Rights Reserved