Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6794 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78341 invoked by uid 1010); 5 Jan 2004 15:08:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78318 invoked from network); 5 Jan 2004 15:08:53 -0000 Received: from unknown (HELO shiva.mind.de) (212.42.230.204) by pb1.pair.com with SMTP; 5 Jan 2004 15:08:53 -0000 Received: from [192.168.1.100] (p508EB747.dip.t-dialin.net [80.142.183.71]) by shiva.mind.de (Postfix) with ESMTP id 575D097B64 for ; Mon, 5 Jan 2004 16:08:52 +0100 (CET) Date: Mon, 5 Jan 2004 16:09:39 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1421228638812.20040105160939@marcus-boerger.de> To: internals@lists.php.net In-Reply-To: <3FF97B8E.1060503@cschneid.com> References: <171226737484.20040105153753@marcus-boerger.de> <3FF97B8E.1060503@cschneid.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Conditional class definition in PHP 4.3.x From: helly@php.net (Marcus Boerger) Hello Christian, Monday, January 5, 2004, 3:58:22 PM, you wrote: > Marcus Boerger wrote: >> Further more i think we cannot fix it becasue the script mixes compile >> time and run time. It tries something like selfmodifying code. > I agree that it should be disabled. If someone really, really wants to > do it they can still include/eval conditionally. And in php 5 one can use the __autoload() feature which is the correct choice for such designs where classes are optional. -- Best regards, Marcus mailto:helly@php.net