previousPEAR_Error::toString() (Previous) (Next) Introduction to using PEAR_ErrorStack for advanced error handlingnext

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

PEAR_ErrorStack

Table of Contents

PEAR_ErrorStack jest eksperymentalną implementacją obsługi błędów, która została zaprojektowana w celu zastąpienia PEAR_Error jak tylko zostanie ustabilizowana. PEAR_ErrorStack jest w kompatybilna wstecz z PEAR_Error oraz kompatybilna wprzód z klasą wyjątków PHP 5 PEAR_Exception. Większość możliwości tej klasy można przeczytać we Wstępie.

Użycie:

1      // globalny stos błędów
2      $global_stack = &PEAR_ErrorStack::
singleton
('MyPackage');
3      // lokalny stos błędów
4      $local_stack = new
PEAR_ErrorStack
('MyPackage');

previousPEAR_Error::toString() (Previous) (Next) Introduction to using PEAR_ErrorStack for advanced error handlingnext

Download Documentation Last updated: Sun, 18 Oct 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.