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 Only 1 Both 1 and 2 All of the mentioned Only 3 Only 1 Both 1 and 2 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. False True False True ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP considers the following values as False the integer 0 the one-character string 0 constant NULL both A and B All of Above the integer 0 the one-character string 0 constant NULL both A and B All of Above ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 12 5 1 Error 12 5 1 Error 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 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 All of the mentioned 1 and 2 1, 2 and 3 1, 2 and 4 All of the mentioned 1 and 2 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP