Re: Re: cvs: pear /DBA DBA.php DBA_Builtin.php DBA_Compat.phpDBA_Relational.php DBA_Simple.php DBA_Table.php package.xml /DBA/tests
benchmark.phpgraph_template simple.php

From: Date: Sat, 22 Jun 2002 15:16:34 +0000
Subject: Re: Re: cvs: pear /DBA DBA.php DBA_Builtin.php DBA_Compat.phpDBA_Relational.php DBA_Simple.php DBA_Table.php package.xml /DBA/tests
benchmark.phpgraph_template simple.php
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7287@lists.php.net to get a copy of this message
Tomas V.V.Cox wrote:
are specific cases where the developer could use the class in a wrong way, so instead of just fail or change the whole API to use PEAR Error (loosing by the way some usability) we trigger the warning "hey developer fix the code".
<?php include "PEAR.php"; PEAR::raiseError("a warning", 999, PEAR_ERROR_TRIGGER, E_USER_WARNING); ?>

« previous php.pear.dev (#7287) next »