Question
What will this code display? Select one: a. 1 b. 3 c. Warning or no value d. An error Question 18 Not yet answered Marked
What will this code display?
Select one:
a. 1
b. 3
c. Warning or no value
d. An error
Question 18
Not yet answered
Marked out of 1.00
Flag question
Question text
What will be printed?
$var = true; if ($var) { echo 'true'; } else { echo 'false'; }
Select one:
a. false
b. error
c. warning
d. true
Question 19
Not yet answered
Marked out of 1.00
Flag question
Question text
What will be the value of $var?
$var = 1 / 2;
Select one:
a. 0
b. 0.5
c. 1
d. 2
Question 20
Not yet answered
Marked out of 1.00
Flag question
Question text
How do you join strings in PHP?
Select one:
a. $m = aa + bb;
b. $m = aa join bb;
c. $m = aa.bb;
d. $m = join(aa,bb);
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started