Re: Re: Wierd error

From: Date: Thu, 17 Nov 2005 16:22:45 +0000
Subject: Re: Re: Wierd error
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-225996@lists.php.net to get a copy of this message
There is nothing weird when this function takes a variable as the argument and your using an object, read the manual
Are you suggesting that settype() can't be used for objects? The documentation doesn't seem to indicate that...
You could try:- $dbObject = (null) $dbObject; Ive not tested that but think it should work!
Nope. Parse error: parse error, unexpected T_VARIABLE in thnx, Chris

« previous php.general (#225996) next »