@@ -912,23 +912,23 @@ static void _php_ibase_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
912
912
}
913
913
/* }}} */
914
914
915
- /* {{{ proto int ibase_connect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])
915
+ /* {{{ proto resource ibase_connect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])
916
916
Open a connection to an InterBase database */
917
917
PHP_FUNCTION (ibase_connect )
918
918
{
919
919
_php_ibase_connect (INTERNAL_FUNCTION_PARAM_PASSTHRU , 0 );
920
920
}
921
921
/* }}} */
922
922
923
- /* {{{ proto int ibase_pconnect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])
923
+ /* {{{ proto resource ibase_pconnect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])
924
924
Open a persistent connection to an InterBase database */
925
925
PHP_FUNCTION (ibase_pconnect )
926
926
{
927
927
_php_ibase_connect (INTERNAL_FUNCTION_PARAM_PASSTHRU , 1 );
928
928
}
929
929
/* }}} */
930
930
931
- /* {{{ proto int ibase_close([int link_identifier])
931
+ /* {{{ proto bool ibase_close([resource link_identifier])
932
932
Close an InterBase connection */
933
933
PHP_FUNCTION (ibase_close )
934
934
{
@@ -1494,7 +1494,7 @@ static int _php_ibase_exec(ibase_result **ib_resultp, ibase_query *ib_query, int
1494
1494
}
1495
1495
/* }}} */
1496
1496
1497
- /* {{{ proto int ibase_trans([int trans_args [, int link_identifier]])
1497
+ /* {{{ proto resource ibase_trans([int trans_args [, resource link_identifier]])
1498
1498
Start transaction */
1499
1499
PHP_FUNCTION (ibase_trans )
1500
1500
{
@@ -1663,23 +1663,23 @@ static void _php_ibase_trans_end(INTERNAL_FUNCTION_PARAMETERS, int commit)
1663
1663
}
1664
1664
/* }}} */
1665
1665
1666
- /* {{{ proto int ibase_commit([int link_identifier [, int trans_number]])
1666
+ /* {{{ proto bool ibase_commit([resource link_identifier [, int trans_number]])
1667
1667
Commit transaction */
1668
1668
PHP_FUNCTION (ibase_commit )
1669
1669
{
1670
1670
_php_ibase_trans_end (INTERNAL_FUNCTION_PARAM_PASSTHRU , COMMIT );
1671
1671
}
1672
1672
/* }}} */
1673
1673
1674
- /* {{{ proto int ibase_rollback([int link_identifier [, int trans_number]])
1674
+ /* {{{ proto bool ibase_rollback([resource link_identifier [, int trans_number]])
1675
1675
Roolback transaction */
1676
1676
PHP_FUNCTION (ibase_rollback )
1677
1677
{
1678
1678
_php_ibase_trans_end (INTERNAL_FUNCTION_PARAM_PASSTHRU , ROLLBACK );
1679
1679
}
1680
1680
/* }}} */
1681
1681
1682
- /* {{{ proto int ibase_query([int link_identifier [, string query [, int bind_args]]])
1682
+ /* {{{ proto resource ibase_query([resource link_identifier [, string query [, int bind_args]]])
1683
1683
Execute a query */
1684
1684
PHP_FUNCTION (ibase_query )
1685
1685
{
@@ -2184,23 +2184,23 @@ static void _php_ibase_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int fetch_type)
2184
2184
}
2185
2185
/* }}} */
2186
2186
2187
- /* {{{ proto array ibase_fetch_row(int result [, int blob_flag])
2187
+ /* {{{ proto array ibase_fetch_row(resource result [, int blob_flag])
2188
2188
Fetch a row from the results of a query */
2189
2189
PHP_FUNCTION (ibase_fetch_row )
2190
2190
{
2191
2191
_php_ibase_fetch_hash (INTERNAL_FUNCTION_PARAM_PASSTHRU , FETCH_ROW );
2192
2192
}
2193
2193
/* }}} */
2194
2194
2195
- /* {{{ proto array ibase_fetch_assoc(int result [, int blob_flag])
2195
+ /* {{{ proto array ibase_fetch_assoc(resource result [, int blob_flag])
2196
2196
Fetch a row from the results of a query */
2197
2197
PHP_FUNCTION (ibase_fetch_assoc )
2198
2198
{
2199
2199
_php_ibase_fetch_hash (INTERNAL_FUNCTION_PARAM_PASSTHRU , FETCH_ARRAY );
2200
2200
}
2201
2201
/* }}} */
2202
2202
2203
- /* {{{ proto object ibase_fetch_object(int result [, int blob_flag])
2203
+ /* {{{ proto object ibase_fetch_object(resource result [, int blob_flag])
2204
2204
Fetch a object from the results of a query */
2205
2205
PHP_FUNCTION (ibase_fetch_object )
2206
2206
{
@@ -2212,7 +2212,7 @@ PHP_FUNCTION(ibase_fetch_object)
2212
2212
}
2213
2213
/* }}} */
2214
2214
2215
- /* {{{ proto int ibase_free_result(int result)
2215
+ /* {{{ proto bool ibase_free_result(resource result)
2216
2216
Free the memory used by a result */
2217
2217
PHP_FUNCTION (ibase_free_result )
2218
2218
{
@@ -2231,7 +2231,7 @@ PHP_FUNCTION(ibase_free_result)
2231
2231
}
2232
2232
/* }}} */
2233
2233
2234
- /* {{{ proto int ibase_prepare([int link_identifier, ] string query)
2234
+ /* {{{ proto resource ibase_prepare([resource link_identifier, ] string query)
2235
2235
Prepare a query for later execution */
2236
2236
PHP_FUNCTION (ibase_prepare )
2237
2237
{
@@ -2281,7 +2281,7 @@ PHP_FUNCTION(ibase_prepare)
2281
2281
}
2282
2282
/* }}} */
2283
2283
2284
- /* {{{ proto int ibase_execute(int query [, int bind_args [, int ...]])
2284
+ /* {{{ proto resource ibase_execute(resource query [, int bind_args [, int ...]])
2285
2285
Execute a previously prepared query */
2286
2286
PHP_FUNCTION (ibase_execute )
2287
2287
{
@@ -2333,7 +2333,7 @@ PHP_FUNCTION(ibase_execute)
2333
2333
}
2334
2334
/* }}} */
2335
2335
2336
- /* {{{ proto int ibase_free_query(int query)
2336
+ /* {{{ proto bool ibase_free_query(resource query)
2337
2337
Free memory used by a query */
2338
2338
PHP_FUNCTION (ibase_free_query )
2339
2339
{
@@ -2409,7 +2409,7 @@ PHP_FUNCTION(ibase_timefmt)
2409
2409
/* }}} */
2410
2410
#endif
2411
2411
2412
- /* {{{ proto int ibase_num_fields(int result)
2412
+ /* {{{ proto int ibase_num_fields(resource result)
2413
2413
Get the number of fields in result */
2414
2414
PHP_FUNCTION (ibase_num_fields )
2415
2415
{
@@ -2433,7 +2433,7 @@ PHP_FUNCTION(ibase_num_fields)
2433
2433
}
2434
2434
/* }}} */
2435
2435
2436
- /* {{{ proto array ibase_field_info(int result, int field_number)
2436
+ /* {{{ proto array ibase_field_info(resource result, int field_number)
2437
2437
Get information about a field */
2438
2438
PHP_FUNCTION (ibase_field_info )
2439
2439
{
@@ -2567,7 +2567,7 @@ static int _php_ibase_blob_info(isc_blob_handle bl_handle, IBASE_BLOBINFO *bl_in
2567
2567
}
2568
2568
/* }}} */
2569
2569
2570
- /* {{{ proto int ibase_blob_create([int link_identifier])
2570
+ /* {{{ proto int ibase_blob_create([resource link_identifier])
2571
2571
Create blob for adding data */
2572
2572
PHP_FUNCTION (ibase_blob_create )
2573
2573
{
@@ -2650,7 +2650,7 @@ PHP_FUNCTION(ibase_blob_open)
2650
2650
}
2651
2651
/* }}} */
2652
2652
2653
- /* {{{ proto int ibase_blob_add(int blob_id, string data)
2653
+ /* {{{ proto bool ibase_blob_add(int blob_id, string data)
2654
2654
Add data into created blob */
2655
2655
PHP_FUNCTION (ibase_blob_add )
2656
2656
{
@@ -2763,15 +2763,15 @@ static void _php_ibase_blob_end(INTERNAL_FUNCTION_PARAMETERS, int bl_end)
2763
2763
}
2764
2764
/* }}} */
2765
2765
2766
- /* {{{ proto int ibase_blob_close(int blob_id)
2766
+ /* {{{ proto bool ibase_blob_close(int blob_id)
2767
2767
Close blob */
2768
2768
PHP_FUNCTION (ibase_blob_close )
2769
2769
{
2770
2770
_php_ibase_blob_end (INTERNAL_FUNCTION_PARAM_PASSTHRU , BLOB_CLOSE );
2771
2771
}
2772
2772
/* }}} */
2773
2773
2774
- /* {{{ proto int ibase_blob_cancel(int blob_id)
2774
+ /* {{{ proto bool ibase_blob_cancel(int blob_id)
2775
2775
Cancel creating blob */
2776
2776
PHP_FUNCTION (ibase_blob_cancel )
2777
2777
{
@@ -2846,7 +2846,7 @@ PHP_FUNCTION(ibase_blob_info)
2846
2846
}
2847
2847
/* }}} */
2848
2848
2849
- /* {{{ proto int ibase_blob_echo(string blob_id_str)
2849
+ /* {{{ proto bool ibase_blob_echo(string blob_id_str)
2850
2850
Output blob contents to browser */
2851
2851
PHP_FUNCTION (ibase_blob_echo )
2852
2852
{
@@ -2890,7 +2890,7 @@ PHP_FUNCTION(ibase_blob_echo)
2890
2890
}
2891
2891
/* }}} */
2892
2892
2893
- /* {{{ proto string ibase_blob_import([link_identifier, ] int file_id)
2893
+ /* {{{ proto string ibase_blob_import([resource link_identifier, ] int file_id)
2894
2894
Create blob, copy file in it, and close it */
2895
2895
PHP_FUNCTION (ibase_blob_import )
2896
2896
{
@@ -3111,23 +3111,23 @@ static void _php_ibase_user(INTERNAL_FUNCTION_PARAMETERS, int operation)
3111
3111
}
3112
3112
/* }}} */
3113
3113
3114
- /* {{{ proto int ibase_add_user(string server, string dba_user_name, string dba_password, string user_name, string password [, string first_name [, string middle_name [, string last_name]]])
3114
+ /* {{{ proto bool ibase_add_user(string server, string dba_user_name, string dba_password, string user_name, string password [, string first_name [, string middle_name [, string last_name]]])
3115
3115
Add an user to security database (only for IB6 or later) */
3116
3116
PHP_FUNCTION (ibase_add_user )
3117
3117
{
3118
3118
_php_ibase_user (INTERNAL_FUNCTION_PARAM_PASSTHRU , isc_action_svc_add_user );
3119
3119
}
3120
3120
/* }}} */
3121
3121
3122
- /* {{{ proto int ibase_modify_user(string server, string dba_user_name, string dba_password, string user_name, string password [, string first_name [, string middle_name [, string last_name]]])
3122
+ /* {{{ proto bool ibase_modify_user(string server, string dba_user_name, string dba_password, string user_name, string password [, string first_name [, string middle_name [, string last_name]]])
3123
3123
Modify an user in security database (only for IB6 or later) */
3124
3124
PHP_FUNCTION (ibase_modify_user )
3125
3125
{
3126
3126
_php_ibase_user (INTERNAL_FUNCTION_PARAM_PASSTHRU , isc_action_svc_modify_user );
3127
3127
}
3128
3128
/* }}} */
3129
3129
3130
- /* {{{ proto int ibase_delete_user(string server, string dba_user_name, string dba_password, string username)
3130
+ /* {{{ proto bool ibase_delete_user(string server, string dba_user_name, string dba_password, string username)
3131
3131
Delete an user from security database (only for IB6 or later) */
3132
3132
PHP_FUNCTION (ibase_delete_user )
3133
3133
{
0 commit comments