31. Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? A. When the parameter is Boolean B. When the function is being declared as a member of a class C. When the parameter is being declared as passed by reference D. When the function contains only one parameter E. Never Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
32. Variables always start with a ........ in PHP A. Pond-sign B. Yen-sign C. Dollar-sign D. Euro-sign Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
33. PHP is an open source software. A. True B. False Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
34. Which of the following is not valid PHP code? A. $_10 B. ${“MyVar”} C. &$something D. $10_somethings E. $aVaR Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
35. PHP runs on different platforms (Windows, Linux, Unix, etc.) A. True B. False Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
36. You can test the type of any variable with the ..... function. A. whattype() B. showtype() C. gettype() D. settype() Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board
37. Assigning the empty string (like ' ') to a variable automatically renders it empty. A. True B. False Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B No explanation is given for this question Let's Discuss on Board
38. If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... A. 0, 1 B. blank string, 2 C. empty variable, 1 D. blank string, 1 Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option D No explanation is given for this question Let's Discuss on Board
39. When a simple data type is casted to an array, an array is created with the original value in the first element. A. True B. False Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option A No explanation is given for this question Let's Discuss on Board
40. String values must be enclosed in ...... A. single quotes B. double quotes C. both A and B D. none of above Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C No explanation is given for this question Let's Discuss on Board