On Mon, 2 Dec 2002, Gabor Hojtsy wrote: > > 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). > > BTW I was quite surprised from the first moment I have used > user_error() / trigger_error() that its default is *not* > E_USER_ERROR. I expected it to default to E_USER_ERROR, because > > 1. It's name is ..._error() > 2. Generally all errors handled with these functions should stop > the script run anyway IMHO...
right, of course. Derick -- ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ ------------------------------------------------------------------------- -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php