If you need a copy of an object (like the default in PHP4), you can explicitly do that with clone.

$cErrorHandler = new testErrors();
$clone = clone $cErrorHandler;

If you do this you shouldn't need zend engine 1 compatibility (unless you need that for other reasons).

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to