Coding standards - inclusion

From: Date: Tue, 13 Oct 2009 08:32:18 +0000
Subject: Coding standards - inclusion
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-52932@lists.php.net to get a copy of this message
Hi there, From http://pear.php.net/manual/en/standards.including.php: "Anywhere you are unconditionally including a class file, use require_once. Anywhere you are conditionally including a class file (for example, factory methods), use include_once." Out of curiosity, why is this the case? What benefits does it offer? Best regards, Eric

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