National_Instruments
200-500 · Question #33
Would the following code catch a parse error? try { echo $label } catch (Exception $e) { echo $e->getMessage(); }
The correct answer is B. No. See the full explanation below for the reasoning.
Question
Would the following code catch a parse error? try { echo $label } catch (Exception $e) { echo $e->getMessage(); }
Options
- AYes
- BNo
How the community answered
(51 responses)- A29% (15)
- B71% (36)
Community Discussion
No community discussion yet for this question.