Do You PHP はてブロ

Do You PHPはてなからはてブロに移動しました

PHP5.4.0RC8の例外クラス

継承関係のメモ。
基本的にPHP5.3系からはほとんど変わってなくて、ソースレベル出確認するとSNMPExceptionが追加されてるっぽいです。

  • Exception
    • ErrorException extends Exception
    • DOMException extends Exception
    • LogicException extends Exception
      • BadFunctionCallException extends LogicException
        • BadMethodCallException extends BadFunctionCallException
      • DomainException extends LogicException
      • InvalidArgumentException extends LogicException
      • LengthException extends LogicException
      • OutOfRangeException extends LogicException
    • RuntimeException extends Exception
      • OutOfBoundsException extends RuntimeException
      • OverflowException extends RuntimeException
      • RangeException extends RuntimeException
      • PDOException extends RuntimeException
      • UnderflowException extends RuntimeException
      • UnexpectedValueException extends RuntimeException
    • ReflectionException extends Exception
    • PharException extends Exception
    • SNMPException extends Exception