Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62018 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95529 invoked from network); 3 Aug 2012 17:01:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2012 17:01:59 -0000 Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vb0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:49554] helo=mail-vb0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3E/21-23476-5040C105 for ; Fri, 03 Aug 2012 13:01:58 -0400 Received: by vbbfs19 with SMTP id fs19so992081vbb.29 for ; Fri, 03 Aug 2012 10:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=u8/X5HTtpUotynCvO6IeWiDVxbzELhyGacMvjgBcQPY=; b=sm/fBEm/+idkRuXYUzAenFl+N0j6u3vhgc1ITftQM7jZ8OCgte29sWWMRbsEOlrGhY 8pwGfk/9XBuU1rF16fWNlp27YioG8AX8+pTpl4ohZ+j8aVR2F7bxXqLA1E3Y48vQggqx 3iHZCg8kioAoUdEOBacCblirqXtaxDNKj3EPdSOkyDQS5R2wYThE9IpZ5sIT8LIMO5Dy DGq0Cg1NrjmpjRLVzyRdEzBXGm3BQlqO4T2faBK44NsCRD9oDtuN59F/iWcMY+Ff3J6D 2uRT4uTC6v62P4M7NW0MALEjeJ0dceUGC8CrKaVfAL9Z5tOwFaaXcs6sARKPbdOfFVhl nVJQ== Received: by 10.52.98.8 with SMTP id ee8mr1626448vdb.58.1344013314861; Fri, 03 Aug 2012 10:01:54 -0700 (PDT) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.220.195.3 with HTTP; Fri, 3 Aug 2012 10:01:34 -0700 (PDT) In-Reply-To: <501C00A8.6060805@sugarcrm.com> References: <501C00A8.6060805@sugarcrm.com> Date: Sat, 4 Aug 2012 01:01:34 +0800 X-Google-Sender-Auth: 59zg-ngagQQ-asVH9hb2_pBiWEI Message-ID: To: Stas Malyshev Cc: Leigh , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Why do disabled functions / classes generate a WARNING. From: laruence@php.net (Laruence) On Sat, Aug 4, 2012 at 12:47 AM, Stas Malyshev wrote: > Hi! > >> I'm looking at a segfault in the SPL caused by the blind creation of a >> class, which seems to only fail when the class is disabled. I'm >> wondering in how many other places this could occur. > > This seems to be pretty bad. I'd say creation of an instance of disabled > class should be a fatal error, but regardless SPL should handle returns > properly. Did you submit a bug about the SPL problem? I think it's https://bugs.php.net/bug.php?id=62737 thanks > > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Laruence Xinchen Hui http://www.laruence.com/