note 105296 rejected from resource by danbrown

From: Date: Mon, 08 Aug 2011 14:29:08 +0000
Subject: note 105296 rejected from resource by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-182319@lists.php.net to get a copy of this message
Note Submitter: kadishaml at gmail dot com ---- As of version 5.3.3 PHP does not recognize CUBRID-Connection resource. CUBRID is an open source RDBMS. I am trying to port existing PHP app to work with CUBRID. It has the following code. $conn = cubrid_connect('localhost', 33000, 'demodb'); $resType = get_resource_type($conn); // Returns "Unknown" if (is_resource($conn) || is_object($conn)) { // does not enter here. return $conn; } else if ($conn){ // on successful connection, it enters this block. return $conn; } else{ return false; } Even though CUBRID-Connection is a resource, it is not recognized as a resource. Hope in future releases you will add CUBRID as one of the PHP resources.

« previous php.notes (#182319) next »