Re: require_once problem

From: Date: Wed, 09 Feb 2005 17:03:57 +0000
Subject: Re: require_once problem
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-36099@lists.php.net to get a copy of this message
Sebastian Bergmann wrote:
Greg Beaver wrote:
Move the require_once '...Warning.php' to the bottom of TestCase.php, after all classes have been declared.
I do not want to "solve" the problem by shuffling the inclusion statements around.
I suppose you could refactor the entire design to avoid it. I prefer cut PgDn-PgDn-PgDn paste myself. You can add a comment to the top of the file // require_once '...Warning.php'; is at the bottom of the file Greg

« previous php.pear.dev (#36099) next »