Preparing to face a written test, job interview or certification exam on PHP?
Reading books after books on PHP alone will not help you crack an interview or
take a written test -you would need some real time practice to do that. These
sample questions on PHP are an excellent mix of various aspects of PHP.
Questions here range from checking your very basic fundamentals on PHP to more
advanced technical topics as a PHP professional. Practice with online objective
test to face the written tests on PHP confidently. This is a sample test of 39
questions with some sample PHP objective questions.
Online Practice
Test > PHP Test
Here are few sample PHP test/quiz questions
What is the difference between GET and POST method?
GET displays the form values entered in the URL of the address bar where as
POST does not.
POST displays the form values entered in the URL of the address bar where as
GET does not.
There is no difference
How do we submit form data without a Sumbit button?
Using header() function
Using Javascript
Using fdf_set_submit_form_action() fucntion
Both a and b above
What happens if no file path is given in include() function?
PHP continues to execute the script.
Results in a fatal error
Include_path is made use of
It haults the script.
Click here to start PHP
online quiz/test
More Links
Explain how to execute a PHP script
using command line.
How can we increase the execution
time of a PHP script?
Explain the purpose of output
buffering in PHP.
Describe session in PHP.
How can we know the number of days
between two given dates using PHP?
|