Date: 12/02/02
- Next message: betz <email protected>: "[PHP-DOC] #20767 [Opn->Csd]: & instead of & with references"
- Previous message: Derick Rethans: "Re: [PHP-DOC] Re: error handling [was: ugly cvs subject]"
- In reply to: Gabor Hojtsy: "Re: [PHP-DOC] Re: error handling [was: ugly cvs subject]"
- Next in thread: Gabor Hojtsy: "Re: [PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-affected-rows.xml mysql-close.xml mysql-create-db.xml mysql-data-seek.xml mysql-fetch-array.xml mysql-fetch-field.xml mysql-field-name.xml mysql-get-host-info.xml mysql-get-proto-info.xml mysql-"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 2 Dec 2002, Gabor Hojtsy wrote:
> > die("foo");
> >
> > vs.
> >
> > trigger_error("foo", E_USER_ERROR);
> >
> > is IMO a complication.
> >
> > > If we leave errors unhandled in examples, that is simple,
> > > but harms the developers. I do think, that using too much
> > > error handling code in examples hurts, but none is not
> > > better...
> >
> > right, die() works fine for that.
>
> OK, let die() stay there. BUT big notes should be added to the
> die() docs then about unsafe usage (to print out error messages
> to users). So if someone is interested in what die() does, he
> get some explanation on why he should *not* use it (despite the
> fact that it is used in examples).
-1 on this.
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: betz <email protected>: "[PHP-DOC] #20767 [Opn->Csd]: & instead of & with references"
- Previous message: Derick Rethans: "Re: [PHP-DOC] Re: error handling [was: ugly cvs subject]"
- In reply to: Gabor Hojtsy: "Re: [PHP-DOC] Re: error handling [was: ugly cvs subject]"
- Next in thread: Gabor Hojtsy: "Re: [PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-affected-rows.xml mysql-close.xml mysql-create-db.xml mysql-data-seek.xml mysql-fetch-array.xml mysql-fetch-field.xml mysql-field-name.xml mysql-get-host-info.xml mysql-get-proto-info.xml mysql-"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

