Is any of the versions below more effective?
/** Version 1 **/
<?
if($condition) {
// some big code
} else {
// other big code
}
?>
/** Version 2 **/
<?
if($condition) {
include 'file_with_some _big_code.php';
} else {
include 'file_with_other_big_code.php';
}
?>
/** Version 3 **/
<?
if($condition) {
require 'file_with_some _big_code.php';
} else {
require 'file_with_other_big_code.php';
}
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]