previousPEAR_Exception を使用した、PHP 5+ における高度なエラー処理 (Previous) (Next) より進んだエラー処理のための PEAR_ErrorStack の利用方法next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

PEAR_ErrorStack

Table of Contents

PEAR_ErrorStack は、PEAR でエラーの生成と処理を行う実験的な実装です。 安定した時点で PEAR_Error を置き換えることを念頭に設計されています。 PEAR_ErrorStack は、PEAR_Error との後方互換性・PHP 5 の PEAR_Exception クラスとの前方互換性の両方を保っています。それ以外にも多くの機能を持っており、 それらの機能については次のセクションで説明します。

利用方法

1      // グローバル エラースタック
2      $global_stack = &PEAR_ErrorStack::
singleton
('MyPackage');
3      // ローカル エラースタック
4      $local_stack = new
PEAR_ErrorStack
('MyPackage');

previousPEAR_Exception を使用した、PHP 5+ における高度なエラー処理 (Previous) (Next) より進んだエラー処理のための PEAR_ErrorStack の利用方法next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.