Re: Conditional class definition in PHP 4.3.x

From: Date: Mon, 05 Jan 2004 15:09:39 +0000
Subject: Re: Conditional class definition in PHP 4.3.x
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-6794@lists.php.net to get a copy of this message
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

« previous php.internals (#6794) next »