NEW
Font size
WorksheetsPHPQUIZZ
Total questions: 19
Worksheet time: 18mins
What will be the output of the following PHP code?
no output
how are u
hi
error
Which of the following is the default file extension of PHP files?
.html
.xml
.ph
.php
What will be the output of the following PHP program?
CSS
error
1HTML
1CSS
1JavaScript
What will be the output of the following PHP program?
PHP MCQ
No output
PHP Quiz
PHP Quiz PHP MCQ PHP Program
What will be the output of the following PHP program?
error
11
12
10
Which of the following is the correct way to add a comment in PHP code?
All of the mentioned
/* */
//
#
What will be the output of the following PHP code?
error
no output
1000 PHP MCQ
Welcome to Sanfoundry
Which of the following is the correct syntax to write a PHP code?
<? ?>
< php >
<?php ?>
< ? php ?>
What will be the output of the following PHP program?
False
True
no output
error
What will be the output of the following PHP program?
Hello....45 times
Hello....36 times
Hello....40 times
Hello....50 times
What will be the output of the following PHP program?
555555555...infinitely
54321
5
error
What will be the output of the following PHP program?
no output
result is true
result is 1
error
What will be the output of the following PHP program?
Which One
Is The
Correct Answer
I Wonder
What will be the output of the following PHP code?
false
true
no output
error
What will be the output of the following PHP code?
$z
1
8
15
What will be the output of the following PHP code?
11111212
11111213
11121213
11111112
What will be the output of the following PHP code?
12345678910....1920
12345678910....19
20
19
What will be the output of the following PHP code?
true 23
true 32
true 33
no output
What will be the output of the following PHP code?
10
no output
error
infinite loop
