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 Which of the following php statement/statements will store 111 in variable num?1. int $num = 111;2. int mum = 111;3. $num = 111;4. 111 = $num; Only 3 All of the mentioned Both 1 and 2 Only 1 Only 3 All of the mentioned Both 1 and 2 Only 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Multiple namespaces cannot be defined in the same file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following PHP statements will output Hello World on the screen?1. echo (“Hello World”);2. print (“Hello World”);3. printf (“Hello World”);4. sprintf (“Hello World”); 1, 2 and 4 1 and 2 All of the mentioned 1, 2 and 3 1, 2 and 4 1 and 2 All of the mentioned 1, 2 and 3 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(); 123 011 111 000 123 011 111 000 ANSWER DOWNLOAD EXAMIANS APP