What will be the output of the following PHP code? <?php $num ...
View Question
What will be the output of the following PHP code?
<?php
$num = 1;
$num1 = 2;
print $num . “+”. $num1;
?>
What will be the output of the following PHP code? <?php $num ...
View Question
Which of the following PHP statement/statements will store 111 in variable num?
i) int $num = 111;
ii) int mum = 111;
iii) $num = 111;
iv) 111 = $num;
Which of the following PHP statement/statements will store 111 in variable num? i) int $num ...
View Question
How should we add a single line comment in our PHP code?
i) /?
ii) //
iii) #
iv) /* */
How should we add a single line comment in our PHP code? i) /? ...
View QuestionWhich version of PHP introduced Try/catch Exception?
a) PHP 4 b) PHP 5 c) PHP 6 d) PHP 5 and later Answer: d Explanation: PHP 5 ...
View Question
Which of the following must be installed on your computer so as to run PHP script?
i) Adobe Dreamweaver
ii) XAMPP
iii) Apache and PHP
iv) IIS
Which of the following must be installed on your computer so as to run PHP script? i) Adobe Dreamweaver ...
View Question
Which of the following is/are a PHP code editor?
i) Notepad
ii) Notepad++
iii) Adobe Dreamweaver
iv) PDT
Which of the following is/are a PHP code editor? i) Notepad ii) ...
View QuestionWhat should be the correct syntax to write a PHP code?
a) < php > b) < ? php ?> c) <? ?> d) <?php ?> Answer: c Explanation: Every ...
View QuestionPHP files have a default file extension of______
a) .html b) .xml c) .php d) .ph Answer: c Explanation: To run a php file on the ...
View Question
What does PHP stand for?
i) Personal Home Page
ii) Hypertext Preprocessor
iii) Pretext Hypertext Processor
iv) Preprocessor Home Page
What does PHP stand for? i) Personal Home Page ii) Hypertext Preprocessor ...
View Question