+ // // + Copyright: (c) 2005 Michal Tatarynowicz + // // + + // // + Author(s): (c) 2005 Michal Tatarynowicz + // // + + // // +------------------------------------------------------------------+ // // + Licensed under the Public Domain Licence + // // +------------------------------------------------------------------+ // ////////////////////////////////////////////////////////////////////////// /** * with this hack you can use clone() in PHP4 code * use "clone($object)" not "clone $object"! the former works in both PHP4 and PHP5 * * * @filesource * @modifiedby $LastChangedBy$ * @lastmodified $Date$ * @author Michal Tatarynowicz * @copyright Copyright (c) 2005, Michal Tatarynowicz * @package cake * @subpackage cake.libs * @since Cake v 0.2.9 * @version $Revision$ * @license Public_Domain * */ if (version_compare(phpversion(), '5.0') < 0) { eval(' function clone($object) { return $object; } '); } ?>