make clone working with PHP5 too

This commit is contained in:
Lars Kneschke 2004-10-21 18:13:46 +00:00
parent ec9361225a
commit 399618a7b6

View File

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