Basic PHP What will be the output of the following code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo; My name is Bob Bob My name is BobMy name is Bob Error My name is BobBob My name is Bob Bob My name is BobMy name is Bob Error My name is BobBob 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 Assigning the empty string (like ' ') to a variable automatically renders it empty. False True False True ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$num = 10;echo 'What is her age? \n She is $num years old'; What is her age? She is 10 years old What is her age? She is $num years old What is her age? n She is $num years old What is her age?n She is 10 years old What is her age? She is 10 years old What is her age? She is $num years old What is her age? n She is $num years old What is her age?n She is 10 years old ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() None of above Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary None of above Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary ANSWER DOWNLOAD EXAMIANS APP
Basic PHP The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . 0 gibberish value NULL an empty string 0 gibberish value NULL an empty string ANSWER DOWNLOAD EXAMIANS APP