PHP questions and answers for PHP Basic and introduction
Are you prepare yourself for PHP questions and answers which help you in interview process or MCQ certificate exam. Here is article which make you confident in questions related to PHP basic and Introduction. Consider as PHP tutorial for PHP Basic and Introduction.
Who is the Founder of PHP?
Correct!
Wrong!
In recent time, PHP Stands for...
Personal Home Page
Hypertext Preprocessor
Productive Hyper Parser
Protective Home Personal
Correct!
Wrong!
PHP original development started, in year...
1995
1993
1994
1992
Correct!
Wrong!
PHP is Cross Platform, HTML embedded, Server side, Web Scripting Language....
True
False
Only Web Scripting Language
Only Server side Language
Correct!
Wrong!
PHP is used in services like...
True
SNMP
HTTP
All of these
Correct!
Wrong!
PHP output is supported in
HTML
PDF
XML
All of these
Correct!
Wrong!
Can PHP programming language is used to create Desktop Application?
No, Websites only.
Yes
Correct!
Wrong!
Which one of these statements is true?
<ul class="multiline_q">
<li>A: PHP every code statements end with semicolon ';' </li>
<li>B: Comment in code begin with // for single line comment and multi-line comments </li>
<li>C: Comment in code begin with /* comment block */ for single line comment and multi-line comments </li>
<li>D: $4var is a valid variable </li>
</ul>
<ul class="multiline_q">
<li>A: PHP every code statements end with semicolon ';' </li>
<li>B: Comment in code begin with // for single line comment and multi-line comments </li>
<li>C: Comment in code begin with /* comment block */ for single line comment and multi-line comments </li>
<li>D: $4var is a valid variable </li>
</ul>
C
C
A
D
C & B
A & C
Correct!
Wrong!
PHP can also be used as Command Line Interface language (CLI)?
True
False
Only in some cases
Correct!
Wrong!
Select a False statement from these:
<ul class="multiline_q">
<li>A: HTML comments have no meaning in PHP parser</li>
<li>B: Comments take up some PROCESSING time</li>
<li>C: PHP Comment can be used to generate API documentation directly using PHPDocumentor</li>
<li>D: We don't need to take care when commenting out regular expressions.</li>
</ul>
<ul class="multiline_q">
<li>A: HTML comments have no meaning in PHP parser</li>
<li>B: Comments take up some PROCESSING time</li>
<li>C: PHP Comment can be used to generate API documentation directly using PHPDocumentor</li>
<li>D: We don't need to take care when commenting out regular expressions.</li>
</ul>
A
B & D
A &C
A & D
B & C
All of these
Correct!
Wrong!
Share the quiz to show your results !
Subscribe to see your results
PHP Interview Questions – Part 2
I got %%score%% of %%total%% right
%%description%%
%%description%%
Loading...