Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add +$add $add = $add + 1 $add = $add $add = $add + $add + 1 $add = $add +$add $add = $add + 1 $add = $add $add = $add + $add + 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} ShrekBlank AshleyBale Shrek AshleyBaleBlank ShrekBlank AshleyBale Shrek AshleyBaleBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 000 011 123 111 000 011 123 111 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP It is possible to create a hierarchy of namespaces in PHP. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... double quotes single quotes both A and B none of above double quotes single quotes both A and B none of above ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 35 students 35 25 students Error 35 students 35 25 students Error ANSWER DOWNLOAD EXAMIANS APP