answer action

Want to challenge your knowledge?

Try our quizzes.

Question Bank

1. 6. A PHP script starts with ____ and ends with ___.

Difficulty

1100
2. PHP keywords are case-sensitive?

Difficulty

1400
3. PHP statements end with a ______.

Difficulty

900
4. What will be the output of the following PHP code ?

Difficulty

2800
5. What is the correct way to start a PHP script?

Difficulty

600
6. In PHP, which symbol is used to concatenate two strings?

Difficulty

1400
7. What does the PHP function echo do?

Difficulty

1400
8. How do you comment a single line in PHP?

Difficulty

1800
9. What is the correct way to declare a variable in PHP?

Difficulty

1800
10. Which of the following is a valid PHP constant?

Difficulty

2200
11. How do you end a PHP statement?

Difficulty

1400
12. What is the correct way to write a conditional statement in PHP?

Difficulty

2200
13. What is the correct way to end a PHP block of code?

Difficulty

1400
14. In PHP, how do you escape a character within a string?

Difficulty

3200
15. What is the purpose of the PHP print statement?

Difficulty

1600
16. How can you declare a constant in PHP with a case-insensitive name?

Difficulty

3400
17. Which of the following is used to increment a variable in PHP?

Difficulty

2400
18. What is the correct way to compare values and types in PHP?

Difficulty

2200
icon
Quizva Statistics

Subject

7

Topics

92

Users

511
icon
Quizva User Ranking
icon
Top Contributor
img
img
img
img
icon
Popular Blogs