PHP Questions and Answers Pdf - 1
Question: 1
Variable scope on which a variable does not loose its value when the function exists and uses that value if the function is called again is
(A) static
(B) function parameter
(C) local
(D) none of these
Ans: A
static
Question: 2
The left associative dot operator (.) is used in PHP for
(A) separate object and its member
(B) multiplication
(C) concatenation
(D) delimeter
Ans: C
concatenation
Question: 3
Which of the following printing construct/function accepts multiple parameters?
(A) Echo
(B) Print
(C) Printf
(D) all of these
Ans: A
Echo
Question: 4
In php string data are
(A) delimited by double quote
(B) delimited by a single quote
(C) delimited by <<< identifier
(D) all of these
Ans: D
all of these
Question: 5
Which of the following variables is not a predefined variable?
(A) $post
(B) $get
(C) $request
(D) $ask
Ans: D
$ask
Latest Computer Questions for Competitive Exams 2027-2028 More
CUET Online Mock Test 2027-2028 More
Computer Quiz Online 2026-2027 More
CBT Exam Sample Questions with Answers Pdf More
Computer GK Questions 2027-2028 Pdf More
TNPSC Group 1, 2, 2a, 4 History GK Questions and Answers More
1000+ Synonyms and Antonyms Worksheet with Answers Pdf More
Top 200+ Advanced Asp.Net Interview Questions 2020-2021 More
1000+ Power Electronics MCQ Questions and Answers Pdf More
100+ Geography Questions and Answers for Competitive Exams More