Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. 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; 3 Error 12 1+2 3 Error 12 1+2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Both 2 and 4 1, 3 and 4 Only 2 2, 3 and 4 Both 2 and 4 1, 3 and 4 Only 2 2, 3 and 4 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 $num years old What is her age? She is 10 years old What is her age?n She is 10 years old What is her age? n She is $num years old What is her age? She is $num years old What is her age? She is 10 years old What is her age?n She is 10 years old What is her age? n She is $num years old 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 000 111 011 123 000 111 011 ANSWER DOWNLOAD EXAMIANS APP