Though the implements of [cubrid_execute | http://www.php.net/manual/en/function.cubrid-execute.php\], [cubrid_query | http://www.php.net/manual/en/function.cubrid-query.php\] and [cubrid_unbuffered_query | http://www.php.net/manual/en/function.cubrid-unbuffered-query.php\] are different, there are also some problems that these three functions all need to consider, such as when should the request resource be registered. Now we can find these three functions have their own opinions on this question from the source code. This problem will be also be encountered in cubrid_prepare.
Therefore, we need to unify them referenced to the following aspects:
# We should register the request resource when the related objects are ready.
# In cubrid_prepare we should register the request resource after cci_prepare.
# In cubrid_execute, cubrid_query and cubrid_unbuffered_query we should register the request resource after cci_get_result_info.