123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726 |
- <?php
- /** @generate-class-entries */
- /** @param resource $statement */
- function oci_define_by_name($statement, string $column, mixed &$var, int $type = 0): bool {}
- /**
- * @param resource $statement
- * @alias oci_define_by_name
- * @deprecated
- */
- function ocidefinebyname($statement, string $column, mixed &$var, int $type = 0): bool {}
- /** @param resource $statement */
- function oci_bind_by_name($statement, string $param, mixed &$var, int $max_length = -1, int $type = 0): bool {}
- /**
- * @param resource $statement
- * @alias oci_bind_by_name
- * @deprecated
- */
- function ocibindbyname($statement, string $param, mixed &$var, int $max_length = -1, int $type = 0): bool {}
- /**
- * @param resource $statement
- * @param array $var
- */
- function oci_bind_array_by_name($statement, string $param, &$var, int $max_array_length, int $max_item_length = -1, int $type = SQLT_AFC): bool {}
- function oci_free_descriptor(OCILob $lob): bool {}
- /**
- * @alias oci_free_descriptor
- * @deprecated
- */
- function ocifreedesc(OCILob $lob): bool {}
- function oci_lob_save(OCILob $lob, string $data, int $offset = 0): bool {}
- /**
- * @alias oci_lob_save
- * @deprecated
- */
- function ocisavelob(OCILob $lob, string $data, int $offset = 0): bool {}
- function oci_lob_import(OCILob $lob, string $filename): bool {}
- /**
- * @alias oci_lob_import
- * @deprecated
- */
- function ocisavelobfile(OCILob $lob, string $filename): bool {}
- function oci_lob_load(OCILob $lob): string|false {}
- /**
- * @alias oci_lob_load
- * @deprecated
- */
- function ociloadlob(OCILob $lob): string|false {}
- function oci_lob_read(OCILob $lob, int $length): string|false {}
- function oci_lob_eof(OCILob $lob): bool {}
- function oci_lob_tell(OCILob $lob): int|false {}
- function oci_lob_rewind(OCILob $lob): bool {}
- function oci_lob_seek(OCILob $lob, int $offset, int $whence = OCI_SEEK_SET): bool {}
- function oci_lob_size(OCILob $lob): int|false {}
- function oci_lob_write(OCILob $lob, string $data, ?int $length = null): int|false {}
- function oci_lob_append(OCILob $to, OCILob $from): bool {}
- function oci_lob_truncate(OCILob $lob, int $length = 0): bool {}
- function oci_lob_erase(OCILob $lob, ?int $offset = null, ?int $length = null): int|false {}
- function oci_lob_flush(OCILob $lob, int $flag = 0): bool {}
- function ocisetbufferinglob(OCILob $lob, bool $mode): bool {}
- function ocigetbufferinglob(OCILob $lob): bool {}
- function oci_lob_copy(OCILob $to, OCILob $from, ?int $length = null): bool {}
- function oci_lob_is_equal(OCILob $lob1, OCILob $lob2): bool {}
- function oci_lob_export(OCILob $lob, string $filename, ?int $offset = null, ?int $length = null): bool {}
- /**
- * @alias oci_lob_export
- * @deprecated
- */
- function ociwritelobtofile(OCILob $lob, string $filename, ?int $offset = null, ?int $length = null): bool {}
- /** @param resource $connection */
- function oci_new_descriptor($connection, int $type = OCI_DTYPE_LOB): ?OCILob {}
- /**
- * @param resource $connection
- * @alias oci_new_descriptor
- * @deprecated
- */
- function ocinewdescriptor($connection, int $type = OCI_DTYPE_LOB): ?OCILob {}
- /** @param resource $connection */
- function oci_rollback($connection): bool {}
- /**
- * @param resource $connection
- * @alias oci_rollback
- * @deprecated
- */
- function ocirollback($connection): bool {}
- /** @param resource $connection */
- function oci_commit($connection): bool {}
- /**
- * @param resource $connection
- * @alias oci_commit
- * @deprecated
- */
- function ocicommit($connection): bool {}
- /** @param resource $statement */
- function oci_field_name($statement, string|int $column): string|false {}
- /**
- * @param resource $statement
- * @alias oci_field_name
- * @deprecated
- */
- function ocicolumnname($statement, string|int $column): string|false {}
- /** @param resource $statement */
- function oci_field_size($statement, string|int $column): int|false {}
- /**
- * @param resource $statement
- * @alias oci_field_size
- * @deprecated
- */
- function ocicolumnsize($statement, string|int $column): int|false {}
- /** @param resource $statement */
- function oci_field_scale($statement, string|int $column): int|false {}
- /**
- * @param resource $statement
- * @alias oci_field_scale
- * @deprecated
- */
- function ocicolumnscale($statement, string|int $column): int|false {}
- /** @param resource $statement */
- function oci_field_precision($statement, string|int $column): int|false {}
- /**
- * @param resource $statement
- * @alias oci_field_precision
- * @deprecated
- */
- function ocicolumnprecision($statement, string|int $column): int|false {}
- /** @param resource $statement */
- function oci_field_type($statement, string|int $column): string|int|false {}
- /**
- * @param resource $statement
- * @alias oci_field_type
- * @deprecated
- */
- function ocicolumntype($statement, string|int $column): string|int|false {}
- /** @param resource $statement */
- function oci_field_type_raw($statement, string|int $column): int|false {}
- /**
- * @param resource $statement
- * @alias oci_field_type_raw
- * @deprecated
- */
- function ocicolumntyperaw($statement, string|int $column): int|false {}
- /** @param resource $statement */
- function oci_field_is_null($statement, string|int $column): bool {}
- /**
- * @param resource $statement
- * @alias oci_field_is_null
- * @deprecated
- */
- function ocicolumnisnull($statement, string|int $column): bool {}
- /** @param resource $statement */
- function oci_execute($statement, int $mode = OCI_COMMIT_ON_SUCCESS): bool {}
- /**
- * @param resource $statement
- * @alias oci_execute
- * @deprecated
- */
- function ociexecute($statement, int $mode = OCI_COMMIT_ON_SUCCESS): bool {}
- /** @param resource $statement */
- function oci_cancel($statement): bool {}
- /**
- * @param resource $statement
- * @alias oci_cancel
- * @deprecated
- */
- function ocicancel($statement): bool {}
- /** @param resource $statement */
- function oci_fetch($statement): bool {}
- /**
- * @param resource $statement
- * @alias oci_fetch
- * @deprecated
- */
- function ocifetch($statement): bool {}
- /**
- * @param resource $statement
- * @param array $result
- * @deprecated
- */
- function ocifetchinto($statement, &$result, int $mode = OCI_NUM): int|false {}
- /**
- * @param resource $statement
- * @param array $output
- */
- function oci_fetch_all($statement, &$output, int $offset = 0, int $limit = -1, int $flags = OCI_FETCHSTATEMENT_BY_COLUMN | OCI_ASSOC): int {}
- /**
- * @param resource $statement
- * @param array $output
- * @alias oci_fetch_all
- * @deprecated
- */
- function ocifetchstatement($statement, &$output, int $offset = 0, int $limit = -1, int $flags = OCI_FETCHSTATEMENT_BY_COLUMN | OCI_ASSOC): int {}
- /** @param resource $statement */
- function oci_fetch_object($statement, int $mode = OCI_ASSOC | OCI_RETURN_NULLS): stdClass|false {}
- /** @param resource $statement */
- function oci_fetch_row($statement): array|false {}
- /** @param resource $statement */
- function oci_fetch_assoc($statement): array|false {}
- /** @param resource $statement */
- function oci_fetch_array($statement, int $mode = OCI_BOTH | OCI_RETURN_NULLS): array|false {}
- /** @param resource $statement */
- function oci_free_statement($statement): bool {}
- /**
- * @param resource $statement
- * @alias oci_free_statement
- * @deprecated
- */
- function ocifreestatement($statement): bool {}
- /**
- * @param resource $statement
- * @alias oci_free_statement
- */
- function oci_free_cursor($statement): bool {}
- /**
- * @param resource $statement
- * @alias oci_free_statement
- * @deprecated
- */
- function ocifreecursor($statement): bool {}
- /** @param resource $connection */
- function oci_close($connection): ?bool {}
- /**
- * @param resource $connection
- * @alias oci_close
- * @deprecated
- */
- function ocilogoff($connection): ?bool {}
- /** @return resource|false */
- function oci_new_connect(string $username, string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {}
- /**
- * @return resource|false
- * @alias oci_new_connect
- * @deprecated
- */
- function ocinlogon(string $username, string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {}
- /**
- * @return resource|false
- */
- function oci_connect(string $username, string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {}
- /**
- * @return resource|false
- * @alias oci_connect
- * @deprecated
- */
- function ocilogon(string $username, string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {}
- /** @return resource|false */
- function oci_pconnect(string $username, string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {}
- /**
- * @return resource|false
- * @alias oci_pconnect
- * @deprecated
- */
- function ociplogon(string $username, string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {}
- /**
- * @param resource|null $connection_or_statement
- * @return array<string, int|string>|false
- * @refcount 1
- */
- function oci_error($connection_or_statement = null): array|false {}
- /**
- * @param resource|null $connection_or_statement
- * @return array<string, int|string>|false
- * @alias oci_error
- * @deprecated
- */
- function ocierror($connection_or_statement = null): array|false {}
- /** @param resource $statement */
- function oci_num_fields($statement): int {}
- /**
- * @param resource $statement
- * @alias oci_num_fields
- * @deprecated
- */
- function ocinumcols($statement): int {}
- /**
- * @param resource $connection
- * @return resource|false
- */
- function oci_parse($connection, string $sql) {}
- /**
- * @param resource $connection
- * @return resource|false
- * @alias oci_parse
- * @deprecated
- */
- function ociparse($connection, string $sql) {}
- /**
- * @param resource $statement
- * @return resource|false
- */
- function oci_get_implicit_resultset($statement) {}
- /** @param resource $statement */
- function oci_set_prefetch($statement, int $rows): bool {}
- /**
- * @param resource $statement
- * @alias oci_set_prefetch
- * @deprecated
- */
- function ocisetprefetch($statement, int $rows): bool {}
- /** @param resource $connection */
- function oci_set_client_identifier($connection, string $client_id): bool {}
- function oci_set_edition(string $edition): bool {}
- /** @param resource $connection */
- function oci_set_module_name($connection, string $name): bool {}
- /** @param resource $connection */
- function oci_set_action($connection, string $action): bool {}
- /**
- * @param resource $connection
- */
- function oci_set_client_info($connection, string $client_info): bool {}
- /** @param resource $connection */
- function oci_set_db_operation($connection, string $action): bool {}
- /** @param resource $connection */
- function oci_set_call_timeout($connection, int $timeout): bool {}
- /**
- * @param resource|string $connection
- * @return resource|bool
- */
- function oci_password_change($connection, string $username, string $old_password, string $new_password) {}
- /**
- * @param resource|string $connection
- * @return resource|bool
- * @alias oci_password_change
- * @deprecated
- */
- function ocipasswordchange($connection, string $username, string $old_password, string $new_password) {}
- /**
- * @param resource $connection
- * @return resource|false
- */
- function oci_new_cursor($connection) {}
- /**
- * @param resource $connection
- * @return resource|false
- * @alias oci_new_cursor
- * @deprecated
- */
- function ocinewcursor($connection) {}
- /** @param resource $statement */
- function oci_result($statement, string|int $column): mixed {}
- /**
- * @param resource $statement
- * @alias oci_result
- * @deprecated
- */
- function ociresult($statement, string|int $column): mixed {}
- function oci_client_version(): string {}
- /** @param resource $connection */
- function oci_server_version($connection): string|false {}
- /**
- * @param resource $connection
- * @alias oci_server_version
- * @deprecated
- */
- function ociserverversion($connection): string|false {}
- /** @param resource $statement */
- function oci_statement_type($statement): string|false {}
- /**
- * @param resource $statement
- * @alias oci_statement_type
- * @deprecated
- */
- function ocistatementtype($statement): string|false {}
- /** @param resource $statement */
- function oci_num_rows($statement): int|false {}
- /**
- * @param resource $statement
- * @alias oci_num_rows
- * @deprecated
- */
- function ocirowcount($statement): int|false {}
- function oci_free_collection(OCICollection $collection): bool {}
- /**
- * @alias oci_free_collection
- * @deprecated
- */
- function ocifreecollection(OCICollection $collection): bool {}
- function oci_collection_append(OCICollection $collection, string $value): bool {}
- /**
- * @alias oci_collection_append
- * @deprecated
- */
- function ocicollappend(OCICollection $collection, string $value): bool {}
- function oci_collection_element_get(OCICollection $collection, int $index): string|float|null|false {}
- /**
- * @alias oci_collection_element_get
- * @deprecated
- */
- function ocicollgetelem(OCICollection $collection, int $index): string|float|null|false {}
- function oci_collection_assign(OCICollection $to, OCICollection $from): bool {}
- function oci_collection_element_assign(OCICollection $collection, int $index, string $value): bool {}
- /**
- * @alias oci_collection_element_assign
- * @deprecated
- */
- function ocicollassignelem(OCICollection $collection, int $index, string $value): bool {}
- function oci_collection_size(OCICollection $collection): int|false {}
- /**
- * @alias oci_collection_size
- * @deprecated
- */
- function ocicollsize(OCICollection $collection): int|false {}
- function oci_collection_max(OCICollection $collection): int|false {}
- /**
- * @alias oci_collection_max
- * @deprecated
- */
- function ocicollmax(OCICollection $collection): int|false {}
- function oci_collection_trim(OCICollection $collection, int $num): bool {}
- /**
- * @alias oci_collection_trim
- * @deprecated
- */
- function ocicolltrim(OCICollection $collection, int $num): bool {}
- /** @param resource $connection */
- function oci_new_collection($connection, string $type_name, ?string $schema = null): OCICollection|false {}
- /**
- * @param resource $connection
- * @alias oci_new_collection
- * @deprecated
- */
- function ocinewcollection($connection, string $type_name, ?string $schema = null): OCICollection|false {}
- /** @param resource $connection */
- function oci_register_taf_callback($connection, ?callable $callback): bool {}
- /** @param resource $connection */
- function oci_unregister_taf_callback($connection): bool {}
- class OCILob {
- /**
- * @alias oci_lob_save
- * @tentative-return-type
- */
- public function save(string $data, int $offset = 0): bool {}
- /**
- * @alias oci_lob_import
- * @tentative-return-type
- */
- public function import(string $filename): bool {}
- /**
- * @alias oci_lob_import
- * @tentative-return-type
- */
- public function saveFile(string $filename): bool {}
- /**
- * @alias oci_lob_load
- * @tentative-return-type
- */
- public function load(): string|false {}
- /**
- * @alias oci_lob_read
- * @tentative-return-type
- */
- public function read(int $length): string|false {}
- /**
- * @alias oci_lob_eof
- * @tentative-return-type
- */
- public function eof(): bool {}
- /**
- * @alias oci_lob_tell
- * @tentative-return-type
- */
- public function tell(): int|false {}
- /**
- * @alias oci_lob_rewind
- * @tentative-return-type
- */
- public function rewind(): bool {}
- /**
- * @alias oci_lob_seek
- * @tentative-return-type
- */
- public function seek(int $offset, int $whence = OCI_SEEK_SET): bool {}
- /**
- * @alias oci_lob_size
- * @tentative-return-type
- */
- public function size(): int|false {}
- /**
- * @alias oci_lob_write
- * @tentative-return-type
- */
- public function write(string $data, ?int $length = null): int|false {}
- /**
- * @alias oci_lob_append
- * @tentative-return-type
- */
- public function append(OCILob $from): bool {}
- /**
- * @alias oci_lob_truncate
- * @tentative-return-type
- */
- public function truncate(int $length = 0): bool {}
- /**
- * @alias oci_lob_erase
- * @tentative-return-type
- */
- public function erase(?int $offset = null, ?int $length = null): int|false {}
- /**
- * @alias oci_lob_flush
- * @tentative-return-type
- */
- public function flush(int $flag = 0): bool {}
- /**
- * @alias ocisetbufferinglob
- * @tentative-return-type
- */
- public function setBuffering(bool $mode): bool {}
- /**
- * @alias ocigetbufferinglob
- * @tentative-return-type
- */
- public function getBuffering(): bool {}
- /**
- * @alias oci_lob_export
- * @tentative-return-type
- */
- public function writeToFile(string $filename, ?int $offset = null, ?int $length = null): bool {}
- /**
- * @alias oci_lob_export
- * @tentative-return-type
- */
- public function export(string $filename, ?int $offset = null, ?int $length = null): bool {}
- /** @tentative-return-type */
- public function writeTemporary(string $data, int $type = OCI_TEMP_CLOB): bool {}
- /** @tentative-return-type */
- public function close(): bool {}
- /**
- * @alias oci_free_descriptor
- * @tentative-return-type
- */
- public function free(): bool {}
- }
- class OCICollection {
- /**
- * @alias oci_free_collection
- * @tentative-return-type
- */
- public function free(): bool {}
- /**
- * @alias oci_collection_append
- * @tentative-return-type
- */
- public function append(string $value): bool {}
- /**
- * @alias oci_collection_element_get
- * @tentative-return-type
- */
- public function getElem(int $index): string|float|null|false {}
- /**
- * @alias oci_collection_assign
- * @tentative-return-type
- */
- public function assign(OCICollection $from): bool {}
- /**
- * @alias oci_collection_element_assign
- * @tentative-return-type
- */
- public function assignElem(int $index, string $value): bool {}
- /**
- * @alias oci_collection_size
- * @tentative-return-type
- */
- public function size(): int|false {}
- /**
- * @alias oci_collection_max
- * @tentative-return-type
- */
- public function max(): int|false {}
- /**
- * @alias oci_collection_trim
- * @tentative-return-type
- */
- public function trim(int $num): bool {}
- }
|