1. How many error levels are available in PHP? A. 14 B. 15 C. 16 D. 17 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
2. What is the description of Error level E_ERROR? A. Fatal run-time error B. Near-fatal error C. Compile-time error D. Fatal Compile-time error 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
3. Which version of PHP introduced E_STRICT Error level? A. PHP 4 B. PHP 5 C. PHP 5.2 D. PHP 5.3 Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option B Solution: Description for E_STRICT is PHP version portability suggestions
4. Which character do the error_reporting directive use to represent the logical operator NOT? A. / B. ! C. ~ D. ^ Answer & Solution Discuss in Board Save for Later Answer & Solution Answer: Option C Solution: The twidle (~) character is used to represent the logical operator NOT.
5. Say you want to report error concerned about fatal run-time, fatal compile-time error and core error which statement would you use? A. error_reporting = E_ALL B. error_reporting = E_ERROR | E_PARSE | E_CORE_ERROR C. error_reporting = E_ERROR | E_COMPILE_WARNING | E_CORE_ERROR D. error_reporting = E_ERROR | E_COMPILE_ERROR | E_CORE_ERROR 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