summaryrefslogtreecommitdiff
path: root/ext/swf/swf.c
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2000-09-09 02:39:56 +0000
committerStig Bakken <ssb@php.net>2000-09-09 02:39:56 +0000
commit971f8b08811b1dfef47841dd63c3ce349959e64f (patch)
treed363b6381f6a059fc8a8d5defceec17a414ad25c /ext/swf/swf.c
parent7918735b11cf38134e422daf162086ba81376204 (diff)
downloadphp-git-971f8b08811b1dfef47841dd63c3ce349959e64f.tar.gz
@Added a more configurable error reporting interface to DB.
Added a more configurable error reporting interface to DB. Also added some more tests, and moved the DB tests to pear/DB/tests. #Usage example that prints and exits on every error: #$dbh = DB::connect($dsn); #$dbh->setErrorHandling(PEAR_ERROR_DIE); # #Example with plain callback function: #$dbh->setErrorHandling(PEAR_ERROR_CALLBACK, "errorHandler"); # #Example with object callback function: #$dbh->setErrorHandling(PEAR_ERROR_CALLBACK, array($obj, "errorHandler")); # #Handler functions/methods are called with the error object as a parameter. #
Diffstat (limited to 'ext/swf/swf.c')
0 files changed, 0 insertions, 0 deletions