Unclonable objects

From: Date: Tue, 22 Nov 2005 07:31:36 +0000
Subject: Unclonable objects
Groups: php.general 
Request: Send a blank email to php-general+get-226319@lists.php.net to get a copy of this message
What situation would make a mysqli object unclonable? This is a problem that occurs only on a linux machine with mysql4. I am simply trying to declare a link resource and I get an error "Trying to clone unclonable object of type mysqli" If I declare the link using a reference however, the code seems to work fine. It still would be better not to use a reference though. Thanks in advance, Matt

« previous php.general (#226319) next »