Menu

#77 In PHP calling is_resource($conn) function when $conn = cubrid resource, always returns Unknown

open
nobody
None
5
2012-02-07
2012-02-07
Jira Trac
No

In PHP 5.3.x so far *CUBRID Resource* is not officially registered as [PHP Resource|http://www.php.net/manual/en/resource.php]. Therefore calling is_resource($conn) always returns Unknown even if $conn is active CUBRID connection.

I suggest to commit a patch to PHP core which introduces CUBRID Resource. See the above page for reference.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.