Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

  1. How many methods are available for the exception class?

  2. A.

     5

    B.

     6

    C.

     7

    D.

     8

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    The seven methods are: getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString().


Be The First To Comment