Skip to main content

PHP Quiz for Freshers with one Years of experience

Dear Candidate,

WebSpecia wishes you all the best for this PHP quiz for Freshers. Go ahead and test how much PHP you have learnt. 

This quiz is designed to have an overview of the knowledge of a PHP fresher. If you have one or less than one year of experience, this is the best way to know how deeply you know about the concept of PHP programming.

Go head, fill your name and email ID to begin with the questions.

Name Email
What does PHP stand for?
PHP is a closed source software?
TRUE/FALSE: PHP is a server side language.
What is the correct way to end a PHP statement?
PHP server scripts are surrounded by delimiters, which?
How do you write "Hello World" in PHP
All variables in PHP start with which symbol?
The PHP syntax is most similar to:
How do you get information from a form that is submitted using the "get" method?
When using the POST method, variables are displayed in the URL:
In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings:
Include files must have the file extension ".inc"
What is the correct way to include the file "" ?

What is the correct way to create a function in PHP?

What is the correct way to open the file "time.txt" as readable?
PHP allows you to send emails directly from a script
Which superglobal variable holds information about headers, paths, and script locations?
What is the correct way to add 1 to the $count variable?
What is a correct way to add a comment in PHP?
PHP can be run on Microsoft Windows IIS(Internet Information Server):
The die() and exit() functions do the exact same thing.
Which one of these variables has an illegal name?
The setcookie() function must appear BEFORE the tag.
In PHP, the only way to output text is with echo.
How do you create an array in PHP?

The if statement is used to execute some code only if a specified condition is true
Which operator is used to check if two values are equal and of same data type?

[mlw_quizmaster_leaderboard mlw_quiz=1]



cPanel Level 1 Certified from cPanel University. Linux System Admin.

Leave a Reply

Your email address will not be published. Required fields are marked *