Menu

#184 cubrid_disconnect() and cubrid_close() are same but parameter requirement is different

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

These two functions are the same but one has optional param while the other requires it.

[cubrid_close()|http://www.php.net/manual/en/function.cubrid-close.php] is defined as:

{code}
bool cubrid_close ([ resource $conn_identifier ] )
{code}

[cubrid_disconnect()|http://www.php.net/manual/en/function.cubrid-disconnect.php] is defined as:

{code}
bool cubrid_disconnect ( resource $conn_identifier )
{code}

Both should be optional.

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.