Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62001 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51866 invoked from network); 3 Aug 2012 11:33:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2012 11:33:44 -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 Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:54260] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/27-09659-717BB105 for ; Fri, 03 Aug 2012 07:33:44 -0400 Received: by yenl12 with SMTP id l12so771983yen.29 for ; Fri, 03 Aug 2012 04:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mcBq1UxqR4Vz/foQamISmC4lOWCWU1xOFCZo2oFbLcM=; b=SMGN3+wfAQJus9oZ6XqJ8nr3QcT6xbw3/V0r92rkdn2Tu6iAeJfHaYZk0LYRM6mscJ Yuc0zZ0htX7jMp2ZpiQcL1RZXkCJ1PRNaGpvfHO5h44j0s4EHqpD1JM/mdOA4MY6SQ1f mYQv1eZTwLmx8a/oTQmIph1YGgt+wrTPXHqG1YN0grQvwUo4lfTdbttDyb62PVff2Zyn H5ZTpbgHKnwIQonc6v1XPcNacxdKyeYy319LBPJNBvyhKWCOo+spFd4y2Y8vJRBtNYV1 LiqnKc7tm44082fz9mlQcxWLgLjkhsbfDTS8VCdL/YnSDZYSBGgH/uDXyDCBaA8rjcdY CnMA== MIME-Version: 1.0 Received: by 10.50.157.136 with SMTP id wm8mr2915162igb.14.1343993620979; Fri, 03 Aug 2012 04:33:40 -0700 (PDT) Received: by 10.231.238.200 with HTTP; Fri, 3 Aug 2012 04:33:40 -0700 (PDT) In-Reply-To: References: Date: Fri, 3 Aug 2012 12:33:40 +0100 Message-ID: To: Leigh Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Why do disabled functions / classes generate a WARNING. From: hannes.magnusson@gmail.com (Hannes Magnusson) On Fri, Aug 3, 2012 at 8:08 AM, Leigh wrote: > Hi all, > > Can anyone explain to me the reason that when a function or class is > disabled via the ini setting, an attempt to access the disabled item > generates a non-fatal error? Because there isn't anything actually wrong. A fatal error is reserved for things we cannot recover from, but a disabled function is easily recoverable. -Hannes