Basic PHP Which version of PHP introduced Try/catch Exception? PHP 4 PHP 5 PHP 5.3 PHP 6 PHP 4 PHP 5 PHP 5.3 PHP 6 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 being declared as passed by reference Never When the parameter is Boolean When the function is being declared as a member of a class When the function contains only one parameter When the parameter is being declared as passed by reference Never When the parameter is Boolean When the function is being declared as a member of a class When the function contains only one parameter ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = 5;$b = 5;echo ($a === $b); Error 1 False 5 === 5 Error 1 False 5 === 5 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 ..... blank string, 2 empty variable, 1 0, 1 blank string, 1 blank string, 2 empty variable, 1 0, 1 blank string, 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? &$something $10_somethings $aVaR $_10 ${“MyVar”} &$something $10_somethings $aVaR $_10 ${“MyVar”} 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