intval($resource)

From: Date: Fri, 27 Apr 2001 22:03:03 +0000
Subject: intval($resource)
Groups: php.dev 
Request: Send a blank email to php-dev+get-52623@lists.php.net to get a copy of this message
Run into a spot of trouble using Metabase(db wrapper) because of it's use of casting a $var=intval($resource) where OCIFreeCursor fails to function after it has been casted. Guessing that it fails because intval is creating a reference to the resource, in turn OCI does not release the resource because there additional reference exist. I'd like to start working on fixing this, but don't know which behaviour to attack. Does OCI need to be fixed or intval()? Suggestions anyone... -Joe

« previous php.dev (#52623) next »