Question
Question 5 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text What function can you use to get the position of a
Question 5 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text What function can you use to get the position of a string or character inside a string?
Select one: a. string_position() b. length() c. len() d. strrpos() Question 6 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text What is the valid way to start a PHP function?
Select one: a. function test{} b. function test[] c. def function test{} d. function test() Question 7 Not yet answered Marked out of 1.00 Not flaggedFlag 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 8 Not yet answered Marked out of 1.00 Not flaggedFlag 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); Question 9 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text What does PHP stand for?
Select one: a. PHP: Hypertext Preprocessor b. Private Home Page c. Personal Home Page d. Personal Hypertext Processor Question 10 Not yet answered Marked out of 1.00 Not flaggedFlag question Question text What will this code display?
$a = 1;
function Test() { echo "a = $a"; } Test(); ?>
Select one: a. 1 b. 3 c. Warning or no value d. An error
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