Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. False True False True ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; get true clueget false get true clueget false ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add + $add + 1 $add = $add + 1 $add = $add +$add $add = $add $add = $add + $add + 1 $add = $add + 1 $add = $add +$add $add = $add 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 AshleyBaleBlank Shrek AshleyBale ShrekBlank AshleyBaleBlank Shrek AshleyBale ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. settype() showtype() whattype() gettype() settype() showtype() whattype() gettype() 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(); 111 011 000 123 111 011 000 123 ANSWER DOWNLOAD EXAMIANS APP