make the clone hack working with PHP5 too

This commit is contained in:
Lars Kneschke 2004-10-21 18:12:11 +00:00
parent 75c15475bd
commit a0cfcc38e4

View File

@ -1247,9 +1247,11 @@
/**
* clone function for php4, use as $new_obj = clone($old_obj);
*/
eval('
function clone($obj)
{
return $obj;
}
');
}
?>