Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45165 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59907 invoked from network); 31 Jul 2009 09:35:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jul 2009 09:35:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.157 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 72.14.220.157 fg-out-1718.google.com Received: from [72.14.220.157] ([72.14.220.157:46613] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D2/B6-26675-4FAB27A4 for ; Fri, 31 Jul 2009 05:35:49 -0400 Received: by fg-out-1718.google.com with SMTP id e12so567148fga.0 for ; Fri, 31 Jul 2009 02:35:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=p2FLh7U8Er/quDbVSnDhBqNfYMghIfmQYPobsW/l5Ng=; b=prruKG+ss09iF7nPec/70dQTUKtmu+hK/JrMNI/xnf3aPurg4lr6zFzTWAVDmWjjRF 3tzMR+gbB5d0aModA3eZnBDOctZc4qhji8wsur0dsqe3Z2nbNh65cO+f7g03ZE5BLWZh i4KN6YDICojEBoDJAMpzwwJ3KnGGAO1Nr0OOw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HgAm74bphj+mvq0ZkCorsKi+Bz6s07xdzUk8/hRzoKlzQGFtiwi0yEHO8+AarvMn2E WnH1mAVdnfFQxchUavPSltk9JpC8nvfSxK24uAL4HUboQgCHR/BN61asjP6YtRU2VEsg OeDsZvZkhcDPpvyHvF9LMCuDiXygmHPxWER+M= MIME-Version: 1.0 Received: by 10.86.82.5 with SMTP id f5mr80677fgb.62.1249032945925; Fri, 31 Jul 2009 02:35:45 -0700 (PDT) In-Reply-To: <4A720DED.9070701@fischer.name> References: <7f3ed2c30907300148k246bb727qe60b888ddfe5523f@mail.gmail.com> <20090730182837.GA1605@joeysmith.com> <7f3ed2c30907301137u50952971i5edfd12e2187a198@mail.gmail.com> <4A720DED.9070701@fischer.name> Date: Fri, 31 Jul 2009 11:35:45 +0200 Message-ID: <7f3ed2c30907310235v4c5c7300mf3edec5d69f059c1@mail.gmail.com> To: Markus Fischer Cc: Joey Smith , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: RFC: Replacing errors with Exceptions From: hannes.magnusson@gmail.com (Hannes Magnusson) On Thu, Jul 30, 2009 at 23:17, Markus Fischer wrote: > Hannes Magnusson wrote: >> On Thu, Jul 30, 2009 at 20:28, Joey Smith wrote: >>> However, now that it's come up, I'm wondering what the costs/risks are >>> of setting libxml_use_internal_errors() on by default? >> >> I don't think thats a good idea. >> People are used to getting a warning when stuff fails, and suppressing >> them all of the sudden is not cool and people will waste a good chunk >> of time figuring out what is wrong with the script they are developing >> and eventually find out libxml_use_internal_errors() is enabled by >> default and they'll start flaming the list about how much we all suck. > > Observing the thread, I totally agree to that. In my case I've "been > there, done that" and although I flamed at the beginning why I can't > catch the error properly (until I found the said function :) ), you can I just realized we don't link to that function from the simplexml docs. I'll add some "see also" links and add an "errors" section mentioning it too. -Hannes