Basic PHP Which of the below symbols is a newline character? /n /r \r \n /n /r \r \n ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the parameter is Boolean When the parameter is being declared as passed by reference When the function contains only one parameter When the function is being declared as a member of a class Never When the parameter is Boolean When the parameter is being declared as passed by reference When the function contains only one parameter When the function is being declared as a member of a class Never 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 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 BobMy name is Bob My name is Bob Bob Error My name is BobBob My name is BobMy name is Bob My name is Bob Bob Error My name is BobBob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... 0, 1 blank string, 2 blank string, 1 empty variable, 1 0, 1 blank string, 2 blank string, 1 empty variable, 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $10_somethings $_10 &$something $aVaR ${“MyVar”} $10_somethings $_10 &$something $aVaR ${“MyVar”} ANSWER DOWNLOAD EXAMIANS APP