DB_DataContainer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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));
           }
       }
   ');

}

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux