Hey Christian,

Why not add your own clone() function to your apps;
something like this:

if (version_compare(phpversion(), "5.0", "<")) {
    function clone($object) { return $object; }
} else {
    function clone($object) { return $object->__clone(); }
}

then (re)write all your code to call clone() where
you need it.

[I know that this is what you want to have in php 4
and php 5 right now anyway; but its only a couple
of lines of code to add to your project]

--Wez.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to