PHP Basic Questions and Answers – Introduction Quiz is about Core PHP Basic for beginners to expert. PHP Beginner Developer or Expert programmer generally use this interview Quiz/test to prepare for preface questions which are generally used in PHP job interview process and entrance exams on PHP introduction.
This online PHP test include 10 Multi Choice questions(MCQ) related to PHP initiation.
How PHP and HTML Embedded works together?
Correct!
Wrong!
-
True or False: Only one PHP file can run at time on web server
Correct!
Wrong!
-
Name of the function to include one PHP file in another
Correct!
Wrong!
-
True or False: All the data and variable are lost, each time the a single php page is processed and the HTTP request is fulfilled.
Correct!
Wrong!
-
Which is the false way to preserve variable or data, from one PHP page to other?
Correct!
Wrong!
-
Which PHP tag is available to use after enabling the short_open_tag in php.ini?
Correct!
Wrong!
-
PHP 7 removed support for which of the following tag?
Correct!
Wrong!
-
Which of code below will give error?
- <?php echo 'This is a test'; ?>
- <?php echo 'This is a test' ?>
- <?php echo 'We omitted the last closing tag';
Correct!
Wrong!
-
True or False: The one line comment style only comments to the end of the line OR the current block of PHP code, whichever comes first.
Correct!
Wrong!
-
Which statement is true?
- PHP code requires to be terminated with a semicolon at the end of each statement.
- The closing tag of a block of PHP code automatically implies a semicolon.
- PHP do not need to have a semicolon terminating the last line of a PHP block.
- The closing tag of a PHP block at the end of a file is optional.
Correct!
Wrong!
-

PHP Interview Questions - Introduction Quiz
I got %%score%% of %%total%% right