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 If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? Error 1 12 5 Error 1 12 5 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP It is possible to create a hierarchy of namespaces in PHP. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; Error 3 1+2 1.+.2 Error 3 1+2 1.+.2 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, 1 blank string, 2 empty variable, 1 0, 1 blank string, 1 blank string, 2 empty variable, 1 0, 1 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(); 000 123 011 111 000 123 011 111 ANSWER DOWNLOAD EXAMIANS APP