Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2, 3 and 4 2 and 4 Only 2 All of the mentioned 2, 3 and 4 2 and 4 Only 2 All of the mentioned 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. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. gettype() settype() showtype() whattype() gettype() settype() showtype() whattype() 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 contains only one parameter When the function is being declared as a member of a class When the parameter is being declared as passed by reference Never When the parameter is Boolean When the function contains only one parameter When the function is being declared as a member of a class 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 0, 1 empty variable, 1 blank string, 2 blank string, 1 0, 1 empty variable, 1 blank string, 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add $add = $add + 1 $add = $add + $add + 1 $add = $add +$add $add = $add $add = $add + 1 $add = $add + $add + 1 $add = $add +$add ANSWER DOWNLOAD EXAMIANS APP