-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathoci8.stub.php
1132 lines (954 loc) · 23.8 KB
/
oci8.stub.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/** @generate-class-entries */
/**
* @var int
* @cvalue OCI_DEFAULT
*/
const OCI_DEFAULT = UNKNOWN;
/**
* @var int
* @cvalue OCI_SYSOPER
*/
const OCI_SYSOPER = UNKNOWN;
/**
* @var int
* @cvalue OCI_SYSDBA
*/
const OCI_SYSDBA = UNKNOWN;
/**
* @var int
* @cvalue PHP_OCI_CRED_EXT
*/
const OCI_CRED_EXT = UNKNOWN;
/**
* @var int
* @cvalue OCI_DESCRIBE_ONLY
*/
const OCI_DESCRIBE_ONLY = UNKNOWN;
/**
* @var int
* @cvalue OCI_COMMIT_ON_SUCCESS
*/
const OCI_COMMIT_ON_SUCCESS = UNKNOWN;
/**
* @var int
* @cvalue OCI_DEFAULT
*/
const OCI_NO_AUTO_COMMIT = UNKNOWN;
/**
* @var int
* @cvalue OCI_EXACT_FETCH
*/
const OCI_EXACT_FETCH = UNKNOWN;
/* for $LOB->seek() */
/**
* @var int
* @cvalue PHP_OCI_SEEK_SET
*/
const OCI_SEEK_SET = UNKNOWN;
/**
* @var int
* @cvalue PHP_OCI_SEEK_CUR
*/
const OCI_SEEK_CUR = UNKNOWN;
/**
* @var int
* @cvalue PHP_OCI_SEEK_END
*/
const OCI_SEEK_END = UNKNOWN;
/* for $LOB->flush() */
/**
* @var int
* @cvalue OCI_LOB_BUFFER_FREE
*/
const OCI_LOB_BUFFER_FREE = UNKNOWN;
/* for OCIBindByName (real "oci" names + short "php" names */
/**
* @var int
* @cvalue SQLT_BFILEE
*/
const SQLT_BFILEE = UNKNOWN;
/**
* @var int
* @cvalue SQLT_CFILEE
*/
const SQLT_CFILEE = UNKNOWN;
/**
* @var int
* @cvalue SQLT_CLOB
*/
const SQLT_CLOB = UNKNOWN;
/**
* @var int
* @cvalue SQLT_BLOB
*/
const SQLT_BLOB = UNKNOWN;
/**
* @var int
* @cvalue SQLT_RDD
*/
const SQLT_RDD = UNKNOWN;
/**
* @var int
* @cvalue SQLT_INT
*/
const SQLT_INT = UNKNOWN;
/**
* @var int
* @cvalue SQLT_NUM
*/
const SQLT_NUM = UNKNOWN;
/**
* @var int
* @cvalue SQLT_RSET
*/
const SQLT_RSET = UNKNOWN;
/**
* @var int
* @cvalue SQLT_AFC
*/
const SQLT_AFC = UNKNOWN;
/**
* @var int
* @cvalue SQLT_CHR
*/
const SQLT_CHR = UNKNOWN;
/**
* @var int
* @cvalue SQLT_VCS
*/
const SQLT_VCS = UNKNOWN;
/**
* @var int
* @cvalue SQLT_AVC
*/
const SQLT_AVC = UNKNOWN;
/**
* @var int
* @cvalue SQLT_STR
*/
const SQLT_STR = UNKNOWN;
/**
* @var int
* @cvalue SQLT_LVC
*/
const SQLT_LVC = UNKNOWN;
/**
* @var int
* @cvalue SQLT_FLT
*/
const SQLT_FLT = UNKNOWN;
/**
* @var int
* @cvalue SQLT_UIN
*/
const SQLT_UIN = UNKNOWN;
/**
* @var int
* @cvalue SQLT_LNG
*/
const SQLT_LNG = UNKNOWN;
/**
* @var int
* @cvalue SQLT_LBI
*/
const SQLT_LBI = UNKNOWN;
/**
* @var int
* @cvalue SQLT_BIN
*/
const SQLT_BIN = UNKNOWN;
/**
* @var int
* @cvalue SQLT_ODT
*/
const SQLT_ODT = UNKNOWN;
/**
* @var int
* @cvalue SQLT_BDOUBLE
*/
const SQLT_BDOUBLE = UNKNOWN;
/**
* @var int
* @cvalue SQLT_BFLOAT
*/
const SQLT_BFLOAT = UNKNOWN;
#if OCI_MAJOR_VERSION >= 12
/**
* @var int
* @cvalue SQLT_BOL
*/
const SQLT_BOL = UNKNOWN;
#endif
/**
* @var int
* @cvalue SQLT_NTY
*/
const OCI_B_NTY = UNKNOWN;
/**
* @var int
* @cvalue SQLT_NTY
*/
const SQLT_NTY = UNKNOWN;
/** @var string */
const OCI_SYSDATE = "SYSDATE";
/**
* @var int
* @cvalue SQLT_BFILEE
*/
const OCI_B_BFILE = UNKNOWN;
/**
* @var int
* @cvalue SQLT_CFILEE
*/
const OCI_B_CFILEE = UNKNOWN;
/**
* @var int
* @cvalue SQLT_CLOB
*/
const OCI_B_CLOB = UNKNOWN;
/**
* @var int
* @cvalue SQLT_BLOB
*/
const OCI_B_BLOB = UNKNOWN;
/**
* @var int
* @cvalue SQLT_RDD
*/
const OCI_B_ROWID = UNKNOWN;
/**
* @var int
* @cvalue SQLT_RSET
*/
const OCI_B_CURSOR = UNKNOWN;
/**
* @var int
* @cvalue SQLT_BIN
*/
const OCI_B_BIN = UNKNOWN;
/**
* @var int
* @cvalue SQLT_INT
*/
const OCI_B_INT = UNKNOWN;
/**
* @var int
* @cvalue SQLT_NUM
*/
const OCI_B_NUM = UNKNOWN;
#if OCI_MAJOR_VERSION >= 12
/**
* @var int
* @cvalue SQLT_BOL
*/
const OCI_B_BOL = UNKNOWN;
#endif
/* for OCIFetchStatement */
/**
* @var int
* @cvalue PHP_OCI_FETCHSTATEMENT_BY_COLUMN
*/
const OCI_FETCHSTATEMENT_BY_COLUMN = UNKNOWN;
/**
* @var int
* @cvalue PHP_OCI_FETCHSTATEMENT_BY_ROW
*/
const OCI_FETCHSTATEMENT_BY_ROW = UNKNOWN;
/* for OCIFetchInto & OCIResult */
/**
* @var int
* @cvalue PHP_OCI_ASSOC
*/
const OCI_ASSOC = UNKNOWN;
/**
* @var int
* @cvalue PHP_OCI_NUM
*/
const OCI_NUM = UNKNOWN;
/**
* @var int
* @cvalue PHP_OCI_BOTH
*/
const OCI_BOTH = UNKNOWN;
/**
* @var int
* @cvalue PHP_OCI_RETURN_NULLS
*/
const OCI_RETURN_NULLS = UNKNOWN;
/**
* @var int
* @cvalue PHP_OCI_RETURN_LOBS
*/
const OCI_RETURN_LOBS = UNKNOWN;
/* for OCINewDescriptor (real "oci" names + short "php" names */
/**
* @var int
* @cvalue OCI_DTYPE_FILE
*/
const OCI_DTYPE_FILE = UNKNOWN;
/**
* @var int
* @cvalue OCI_DTYPE_LOB
*/
const OCI_DTYPE_LOB = UNKNOWN;
/**
* @var int
* @cvalue OCI_DTYPE_ROWID
*/
const OCI_DTYPE_ROWID = UNKNOWN;
/**
* @var int
* @cvalue OCI_DTYPE_FILE
*/
const OCI_D_FILE = UNKNOWN;
/**
* @var int
* @cvalue OCI_DTYPE_LOB
*/
const OCI_D_LOB = UNKNOWN;
/**
* @var int
* @cvalue OCI_DTYPE_ROWID
*/
const OCI_D_ROWID = UNKNOWN;
/* for OCIWriteTemporaryLob */
/**
* @var int
* @cvalue OCI_TEMP_CLOB
*/
const OCI_TEMP_CLOB = UNKNOWN;
/**
* @var int
* @cvalue OCI_TEMP_BLOB
*/
const OCI_TEMP_BLOB = UNKNOWN;
/* for Transparent Application Failover */
/**
* @var int
* @cvalue OCI_FO_END
*/
const OCI_FO_END = UNKNOWN;
/**
* @var int
* @cvalue OCI_FO_ABORT
*/
const OCI_FO_ABORT = UNKNOWN;
/**
* @var int
* @cvalue OCI_FO_REAUTH
*/
const OCI_FO_REAUTH = UNKNOWN;
/**
* @var int
* @cvalue OCI_FO_BEGIN
*/
const OCI_FO_BEGIN = UNKNOWN;
/**
* @var int
* @cvalue OCI_FO_ERROR
*/
const OCI_FO_ERROR = UNKNOWN;
/**
* @var int
* @cvalue OCI_FO_NONE
*/
const OCI_FO_NONE = UNKNOWN;
/**
* @var int
* @cvalue OCI_FO_SESSION
*/
const OCI_FO_SESSION = UNKNOWN;
/**
* @var int
* @cvalue OCI_FO_SELECT
*/
const OCI_FO_SELECT = UNKNOWN;
/**
* @var int
* @cvalue OCI_FO_TXNAL
*/
const OCI_FO_TXNAL = UNKNOWN;
/**
* @var int
* @cvalue OCI_FO_RETRY
*/
const OCI_FO_RETRY = UNKNOWN;
/** @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, #[\SensitiveParameter] 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, #[\SensitiveParameter] string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {}
/**
* @return resource|false
*/
function oci_connect(string $username, #[\SensitiveParameter] string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {}
/**
* @return resource|false
* @alias oci_connect
* @deprecated
*/
function ocilogon(string $username, #[\SensitiveParameter] string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {}
/**
* @return resource|false
*/
function oci_pconnect(string $username, #[\SensitiveParameter] string $password, ?string $connection_string = null, string $encoding = "", int $session_mode = OCI_DEFAULT) {}
/**
* @return resource|false
* @alias oci_pconnect
* @deprecated
*/
function ociplogon(string $username, #[\SensitiveParameter] 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 $statement */
function oci_set_prefetch_lob($statement, int $prefetch_lob_size): 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 {}
#[\AllowDynamicProperties]
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