Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 1 12 Error 5 1 12 Error 5 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... single quotes none of above double quotes both A and B single quotes none of above double quotes both A and B 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]);} AshleyBaleBlank Shrek AshleyBale ShrekBlank AshleyBaleBlank Shrek AshleyBale ShrekBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which statement will output $x on the screen? echo “$$x”; echo “/$x”; echo “\$x”; echo “$x;”; echo “$$x”; echo “/$x”; echo “\$x”; echo “$x;”; ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array None of above Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array None of above Accepts a value and converts it into string equivalent ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add + 1 $add = $add $add = $add +$add $add = $add + $add + 1 $add = $add + 1 $add = $add $add = $add +$add $add = $add + $add + 1 ANSWER DOWNLOAD EXAMIANS APP