DB_DataContainer
| From: | php trainer | Date: | Sat, 10 Mar 2007 00:08:41 +0000 |
| Subject: | DB_DataContainer | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-250184@lists.php.net to get a copy of this message | ||
Could someone explain what this does and why it's beneficial?
Thanks,
Ed
--------------------------------------------------
if (version_compare(phpversion(), '5.0.0', 'ge')) {
class DB_DataContainer_Overload {
function __call($method,$args) {
$retval = null;
$this->___call($method,$args,$retval);
return($retval);
}
}
} else {
eval('
class DB_DataContainer_Overload {
function __call($method,$args,&$retval) {
return($this->___call($method,$args,$retval));
}
}
');
}