Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25180 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72520 invoked by uid 1010); 3 Aug 2006 09:45:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 72486 invoked from network); 3 Aug 2006 09:45:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Aug 2006 09:45:53 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; domainkeys=good DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 64.233.166.181 py-out-1112.google.com Linux 2.4/2.6 Received: from ([64.233.166.181:1440] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 56/B3-44390-D11C1D44 for ; Thu, 03 Aug 2006 05:25:51 -0400 Received: by py-out-1112.google.com with SMTP id n25so1970227pyg for ; Thu, 03 Aug 2006 02:25:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=buAG2op5iNj/ZeauuPwMJHaA7Tcgys+sd8hhKlSZ/8GDv0Wisvh4LiH/dQrocbn2ed07J258uzfU926YXRsh1TOyQLBLm1s000Hc3vu0rC9/kaBzxUL0yN9fp/JLwldJQzLWlGh26YsE/7uzolHwAoT+gkVs7hMjnpyGpScNl4E= Received: by 10.35.123.10 with SMTP id a10mr3062204pyn; Thu, 03 Aug 2006 02:25:47 -0700 (PDT) Received: by 10.35.93.18 with HTTP; Thu, 3 Aug 2006 02:25:47 -0700 (PDT) Message-ID: <10845a340608030225k38b8bab6i7720bf3c8c9bbc11@mail.gmail.com> Date: Thu, 3 Aug 2006 10:25:47 +0100 Reply-To: RQuadling@GoogleMail.com To: "Derick Rethans" Cc: "Lukas Smith" , "PHP Developers Mailing List" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7.0.1.0.2.20060803104541.0853b1e0@zend.com> <20060803095558.49c4e484@pierre-u64> <44D1B055.5070905@php.net> <44D1B505.1010300@php.net> <10845a340608030205rd012a71g30a97a3f4d2f7bc8@mail.gmail.com> Subject: Re: [PHP-DEV] RfC: rethink OO inheritance strictness From: rquadling@googlemail.com ("Richard Quadling") On 03/08/06, Derick Rethans wrote: > On Thu, 3 Aug 2006, Richard Quadling wrote: > > > The issue this brings is toggling E_STRICT on and off at RUNTIME > > required? (I suspect that would be a LOT of work). > > It's only an issue for the first script that is opened... not for > includes. As the parsing E_STRICT things work fine.... but only *after* > the file has been executed. In this example the included file will never > throw e_Strict errors for example: > > error_reporting(0); > include 'included.php'; > ?> > Aha. So, if I use an __autoloader, I COULD be clever and place my "loose" classes in 1 directory and my "strict" classes in another. The autoloader would search for the class and set the error_reporting level appropriately before including/requiring. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"