Skip to content

Commit af2de13

Browse files
Fix ocdb function signature
1 parent 5878035 commit af2de13

File tree

2 files changed

+45
-44
lines changed

2 files changed

+45
-44
lines changed

resources/functionMap.php

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -7885,51 +7885,51 @@
78857885
'ocigetbufferinglob' => ['bool'],
78867886
'ocisetbufferinglob' => ['bool', 'flag'=>'bool'],
78877887
'octdec' => ['int|float', 'octal_number'=>'string'],
7888-
'odbc_autocommit' => ['mixed', 'connection_id'=>'resource', 'onoff='=>'bool'],
7889-
'odbc_binmode' => ['bool', 'result_id'=>'int', 'mode'=>'int'],
7890-
'odbc_close' => ['void', 'connection_id'=>'resource'],
7888+
'odbc_autocommit' => ['mixed', 'odbc'=>'resource', 'enable='=>'bool'],
7889+
'odbc_binmode' => ['bool', 'statement'=>'int', 'mode'=>'int'],
7890+
'odbc_close' => ['void', 'odbc'=>'resource'],
78917891
'odbc_close_all' => ['void'],
7892-
'odbc_columnprivileges' => ['resource', 'connection_id'=>'resource', 'catalog'=>'string', 'schema'=>'string', 'table'=>'string', 'column'=>'string'],
7893-
'odbc_columns' => ['resource', 'connection_id'=>'resource', 'qualifier='=>'string', 'owner='=>'string', 'table_name='=>'string', 'column_name='=>'string'],
7894-
'odbc_commit' => ['bool', 'connection_id'=>'resource'],
7892+
'odbc_columnprivileges' => ['resource|false', 'odbc'=>'resource', 'catalog'=>'string', 'schema'=>'string', 'table'=>'string', 'column'=>'string'],
7893+
'odbc_columns' => ['resource|false', 'odbc'=>'resource', 'catalog='=>'string', 'schema='=>'string', 'table='=>'string', 'column='=>'string'],
7894+
'odbc_commit' => ['bool', 'odbc'=>'resource'],
78957895
'odbc_connect' => ['resource|false', 'dsn'=>'string', 'user'=>'string', 'password'=>'string', 'cursor_option='=>'int'],
7896-
'odbc_cursor' => ['string|false', 'result_id'=>'resource'],
7897-
'odbc_data_source' => ['array|false', 'connection_id'=>'resource', 'fetch_type'=>'int'],
7898-
'odbc_do' => ['resource', 'connection_id'=>'resource', 'query'=>'string', 'flags='=>'int'],
7899-
'odbc_error' => ['string', 'connection_id='=>'resource'],
7900-
'odbc_errormsg' => ['string', 'connection_id='=>'resource'],
7901-
'odbc_exec' => ['resource|false', 'connection_id'=>'resource', 'query'=>'string', 'flags='=>'int'],
7902-
'odbc_execute' => ['bool', 'result_id'=>'resource', 'parameters_array='=>'array'],
7903-
'odbc_fetch_array' => ['array|false', 'result'=>'resource', 'rownumber='=>'int'],
7904-
'odbc_fetch_into' => ['int|false', 'result_id'=>'resource', '&w_result_array'=>'array', 'rownumber='=>'int'],
7905-
'odbc_fetch_object' => ['object|false', 'result'=>'int', 'rownumber='=>'int'],
7906-
'odbc_fetch_row' => ['bool', 'result_id'=>'resource', 'row_number='=>'int'],
7907-
'odbc_field_len' => ['int|false', 'result_id'=>'resource', 'field_number'=>'int'],
7908-
'odbc_field_name' => ['string|false', 'result_id'=>'resource', 'field_number'=>'int'],
7909-
'odbc_field_num' => ['int|false', 'result_id'=>'resource', 'field_name'=>'string'],
7910-
'odbc_field_precision' => ['int|false', 'result_id'=>'resource', 'field_number'=>'int'],
7911-
'odbc_field_scale' => ['int|false', 'result_id'=>'resource', 'field_number'=>'int'],
7912-
'odbc_field_type' => ['string|false', 'result_id'=>'resource', 'field_number'=>'int'],
7913-
'odbc_foreignkeys' => ['resource', 'connection_id'=>'resource', 'pk_qualifier'=>'string', 'pk_owner'=>'string', 'pk_table'=>'string', 'fk_qualifier'=>'string', 'fk_owner'=>'string', 'fk_table'=>'string'],
7914-
'odbc_free_result' => ['bool', 'result_id'=>'resource'],
7915-
'odbc_gettypeinfo' => ['resource', 'connection_id'=>'resource', 'data_type='=>'int'],
7916-
'odbc_longreadlen' => ['bool', 'result_id'=>'resource', 'length'=>'int'],
7917-
'odbc_next_result' => ['bool', 'result_id'=>'resource'],
7918-
'odbc_num_fields' => ['int', 'result_id'=>'resource'],
7919-
'odbc_num_rows' => ['int', 'result_id'=>'resource'],
7920-
'odbc_pconnect' => ['resource', 'dsn'=>'string', 'user'=>'string', 'password'=>'string', 'cursor_option='=>'int'],
7921-
'odbc_prepare' => ['resource|false', 'connection_id'=>'resource', 'query'=>'string'],
7922-
'odbc_primarykeys' => ['resource', 'connection_id'=>'resource', 'qualifier'=>'string', 'owner'=>'string', 'table'=>'string'],
7923-
'odbc_procedurecolumns' => ['resource', 'connection_id'=>'', 'qualifier'=>'string', 'owner'=>'string', 'proc'=>'string', 'column'=>'string'],
7924-
'odbc_procedures' => ['resource', 'connection_id'=>'', 'qualifier'=>'string', 'owner'=>'string', 'name'=>'string'],
7925-
'odbc_result' => ['mixed', 'result_id'=>'resource', 'field'=>'mixed'],
7926-
'odbc_result_all' => ['int|false', 'result_id'=>'resource', 'format='=>'string'],
7927-
'odbc_rollback' => ['bool', 'connection_id'=>'resource'],
7928-
'odbc_setoption' => ['bool', 'result_id'=>'resource', 'which'=>'int', 'option'=>'int', 'value'=>'int'],
7929-
'odbc_specialcolumns' => ['resource', 'connection_id'=>'resource', 'type'=>'int', 'qualifier'=>'string', 'owner'=>'string', 'table'=>'string', 'scope'=>'int', 'nullable'=>'int'],
7930-
'odbc_statistics' => ['resource', 'connection_id'=>'resource', 'qualifier'=>'string', 'owner'=>'string', 'name'=>'string', 'unique'=>'int', 'accuracy'=>'int'],
7931-
'odbc_tableprivileges' => ['resource', 'connection_id'=>'resource', 'qualifier'=>'string', 'owner'=>'string', 'name'=>'string'],
7932-
'odbc_tables' => ['resource', 'connection_id'=>'resource', 'qualifier='=>'string', 'owner='=>'string', 'name='=>'string', 'table_types='=>'string'],
7896+
'odbc_cursor' => ['string|false', 'statement'=>'resource'],
7897+
'odbc_data_source' => ['array|false', 'odbc'=>'resource', 'fetch_type'=>'int'],
7898+
'odbc_do' => ['resource|false', 'odbc'=>'resource', 'query'=>'string', 'flags='=>'int'],
7899+
'odbc_error' => ['string', 'odbc='=>'resource'],
7900+
'odbc_errormsg' => ['string', 'odbc='=>'resource'],
7901+
'odbc_exec' => ['resource|false', 'odbc'=>'resource', 'query'=>'string', 'flags='=>'int'],
7902+
'odbc_execute' => ['bool', 'statement'=>'resource', 'params='=>'array'],
7903+
'odbc_fetch_array' => ['array|false', 'statement'=>'resource', 'row='=>'int'],
7904+
'odbc_fetch_into' => ['int|false', 'statement'=>'resource', '&w_array'=>'array', 'row='=>'int'],
7905+
'odbc_fetch_object' => ['object|false', 'statement'=>'int', 'row='=>'int'],
7906+
'odbc_fetch_row' => ['bool', 'statement'=>'resource', 'row='=>'int'],
7907+
'odbc_field_len' => ['int|false', 'statement'=>'resource', 'field'=>'int'],
7908+
'odbc_field_name' => ['string|false', 'statement'=>'resource', 'field'=>'int'],
7909+
'odbc_field_num' => ['int|false', 'statement'=>'resource', 'field'=>'string'],
7910+
'odbc_field_precision' => ['int|false', 'statement'=>'resource', 'field'=>'int'],
7911+
'odbc_field_scale' => ['int|false', 'statement'=>'resource', 'field'=>'int'],
7912+
'odbc_field_type' => ['string|false', 'statement'=>'resource', 'field'=>'int'],
7913+
'odbc_foreignkeys' => ['resource|false', 'odbc'=>'resource', 'pk_catalog'=>'string', 'pk_schema'=>'string', 'pk_table'=>'string', 'fk_catalog'=>'string', 'fk_schema'=>'string', 'fk_table'=>'string'],
7914+
'odbc_free_result' => ['bool', 'statement'=>'resource'],
7915+
'odbc_gettypeinfo' => ['resource|false', 'odbc'=>'resource', 'data_type='=>'int'],
7916+
'odbc_longreadlen' => ['bool', 'statement'=>'resource', 'length'=>'int'],
7917+
'odbc_next_result' => ['bool', 'statement'=>'resource'],
7918+
'odbc_num_fields' => ['int', 'statement'=>'resource'],
7919+
'odbc_num_rows' => ['int', 'statement'=>'resource'],
7920+
'odbc_pconnect' => ['resource|false', 'dsn'=>'string', 'user'=>'string', 'password'=>'string', 'cursor_option='=>'int'],
7921+
'odbc_prepare' => ['resource|false', 'odbc'=>'resource', 'query'=>'string'],
7922+
'odbc_primarykeys' => ['resource|false', 'odbc'=>'resource', 'catalog'=>'string', 'schema'=>'string', 'table'=>'string'],
7923+
'odbc_procedurecolumns' => ['resource|false', 'odbc'=>'', 'catalog'=>'string', 'schema'=>'string', 'procedure'=>'string', 'column'=>'string'],
7924+
'odbc_procedures' => ['resource|false', 'odbc'=>'', 'catalog'=>'string', 'schema'=>'string', 'procedure'=>'string'],
7925+
'odbc_result' => ['mixed', 'statement'=>'resource', 'field'=>'mixed'],
7926+
'odbc_result_all' => ['int|false', 'statement'=>'resource', 'format='=>'string'],
7927+
'odbc_rollback' => ['bool', 'odbc'=>'resource'],
7928+
'odbc_setoption' => ['bool', 'odbc'=>'resource', 'which'=>'int', 'option'=>'int', 'value'=>'int'],
7929+
'odbc_specialcolumns' => ['resource|false', 'odbc'=>'resource', 'type'=>'int', 'catalog'=>'string', 'schema'=>'string', 'table'=>'string', 'scope'=>'int', 'nullable'=>'int'],
7930+
'odbc_statistics' => ['resource|false', 'odbc'=>'resource', 'catalog'=>'string', 'schema'=>'string', 'table'=>'string', 'unique'=>'int', 'accuracy'=>'int'],
7931+
'odbc_tableprivileges' => ['resource|false', 'odbc'=>'resource', 'catalog'=>'string', 'schema'=>'string', 'table'=>'string'],
7932+
'odbc_tables' => ['resource|false', 'odbc'=>'resource', 'catalog='=>'string', 'schema='=>'string', 'table='=>'string', 'types='=>'string'],
79337933
'opcache_compile_file' => ['bool', 'file'=>'string'],
79347934
'opcache_get_configuration' => ['array|false'],
79357935
'opcache_get_status' => ['array|false', 'get_scripts='=>'bool'],

resources/functionMap_php80delta.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@
9292
'mb_str_split' => ['list<string>', 'str'=>'string', 'split_length='=>'positive-int', 'encoding='=>'string'],
9393
'mb_strlen' => ['0|positive-int', 'str'=>'string', 'encoding='=>'string'],
9494
'mktime' => ['int|false', 'hour'=>'int', 'minute='=>'int', 'second='=>'int', 'month='=>'int', 'day='=>'int', 'year='=>'int'],
95-
'odbc_exec' => ['resource|false', 'connection_id'=>'resource', 'query'=>'string'],
95+
'odbc_exec' => ['resource|false', 'odbc'=>'resource', 'query'=>'string'],
96+
'odbc_do' => ['resource|false', 'odbc'=>'resource', 'query'=>'string'],
9697
'parse_str' => ['void', 'encoded_string'=>'string', '&w_result'=>'array'],
9798
'password_hash' => ['non-empty-string', 'password'=>'string', 'algo'=>'string|int|null', 'options='=>'array'],
9899
'PDOStatement::fetchAll' => ['array', 'how='=>'int', 'fetch_argument='=>'int|string|callable', 'ctor_args='=>'?array'],

0 commit comments

Comments
 (0)