/PHP-8.1/ext/oci8/tests/ |
H A D | bind_sqltint.phpt | 28 oci_bind_by_name($s, ":id", $id); 40 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_INT); 131 oci_bind_by_name($s, ":p1", $p1, 10); 140 oci_bind_by_name($s, ":p1", $p1, 10); 149 oci_bind_by_name($s, ":p1", $p1, 10); 158 oci_bind_by_name($s, ":p1", $p1, 10); 167 oci_bind_by_name($s, ":p1", $p1, 10); 176 oci_bind_by_name($s, ":p1", $p1, 10); 185 oci_bind_by_name($s, ":p1", $p1, 10); 194 oci_bind_by_name($s, ":p1", $p1, 10); [all …]
|
H A D | bind_char_3.phpt | 35 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2); 43 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); 52 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10); 62 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL… 100 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL… 108 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); 118 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10); 148 $r = oci_bind_by_name($s, ':bv1', $bv1, 0, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 0, SQLT_… 158 $r = oci_bind_by_name($s, ':bv1', $bv1, 1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 1, SQLT_… 179 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); [all …]
|
H A D | bind_char_4.phpt | 37 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2); 45 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); 54 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10); 64 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL… 102 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL… 110 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); 120 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10); 150 $r = oci_bind_by_name($s, ':bv1', $bv1, 0, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 0, SQLT_… 160 $r = oci_bind_by_name($s, ':bv1', $bv1, 1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 1, SQLT_… 181 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); [all …]
|
H A D | bind_char_3_11gR1.phpt | 35 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2); 43 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); 52 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10); 62 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL… 100 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL… 108 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); 118 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10); 148 $r = oci_bind_by_name($s, ':bv1', $bv1, 0, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 0, SQLT_… 158 $r = oci_bind_by_name($s, ':bv1', $bv1, 1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 1, SQLT_… 179 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); [all …]
|
H A D | bind_char_4_11gR1.phpt | 37 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2); 45 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); 54 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10); 64 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL… 102 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL… 110 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); 120 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10); 150 $r = oci_bind_by_name($s, ':bv1', $bv1, 0, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 0, SQLT_… 160 $r = oci_bind_by_name($s, ':bv1', $bv1, 1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 1, SQLT_… 181 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); [all …]
|
H A D | bind_unsupported_1.phpt | 30 oci_bind_by_name($s, ":c1", $c1, -1, $v); 37 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 97 in %sbind_unsupported_1.php … 40 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 5 in %sbind_unsupported_1.php o… 43 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 9 in %sbind_unsupported_1.php o… 46 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 94 in %sbind_unsupported_1.php … 49 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 4 in %sbind_unsupported_1.php o… 52 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 68 in %sbind_unsupported_1.php … 55 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 156 in %sbind_unsupported_1.php…
|
H A D | bind_sqltafc.phpt | 41 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 42 oci_bind_by_name($s, ":c3", $c3, -1, SQLT_AFC); 43 oci_bind_by_name($s, ":c4", $c4, -1, SQLT_AFC); 44 oci_bind_by_name($s, ":c5", $c5, -1, SQLT_AFC); 56 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 57 oci_bind_by_name($s, ":c3", $c3, -1, SQLT_AFC); 58 oci_bind_by_name($s, ":c4", $c4, -1, SQLT_AFC); 59 oci_bind_by_name($s, ":c5", $c5, -1, SQLT_AFC); 71 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 72 oci_bind_by_name($s, ":c3", $c3, -1, SQLT_AFC); [all …]
|
H A D | refcur_prefetch_4.phpt | 58 oci_bind_by_name($s,':c1',$i); 59 oci_bind_by_name($s,':c2',$val2); 71 die("oci_bind_by_name(sql1) failed!\n"); 80 die("oci_bind_by_name(sql2) failed!\n"); 82 if (!oci_bind_by_name($s2, ":c1", $c1, -1, SQLT_INT)) { 83 die("oci_bind_by_name(sql2) failed!\n"); 86 die("oci_bind_by_name(sql2) failed!\n"); 94 die("oci_bind_by_name(sql2) failed!\n"); 104 die("oci_bind_by_name(sql1) failed!\n"); 115 die("oci_bind_by_name(sql1) failed!\n"); [all …]
|
H A D | bind_char_1.phpt | 2 SELECT oci_bind_by_name with SQLT_AFC aka CHAR 41 $r = oci_bind_by_name($s, ":bv", $bv1); 46 $r = oci_bind_by_name($s, ":bv", $bv1, -1, SQLT_AFC); 51 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 76 $r = oci_bind_by_name($s, ":bv", $bv1); 86 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 91 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 101 $r = oci_bind_by_name($s, ":bv", $bv1, 1, SQLT_AFC); 112 $r = oci_bind_by_name($s, ":bv", $bv1); 122 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); [all …]
|
H A D | bind_char_1_11gR1.phpt | 2 SELECT oci_bind_by_name with SQLT_AFC aka CHAR 43 $r = oci_bind_by_name($s, ":bv", $bv1); 48 $r = oci_bind_by_name($s, ":bv", $bv1, -1, SQLT_AFC); 53 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 78 $r = oci_bind_by_name($s, ":bv", $bv1); 83 $r = oci_bind_by_name($s, ":bv", $bv1, -1, SQLT_AFC); 88 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 114 $r = oci_bind_by_name($s, ":bv", $bv1); 124 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 150 $r = oci_bind_by_name($s, ":bv", $bv1); [all …]
|
H A D | bind_misccoltypes.phpt | 108 oci_bind_by_name($s, ":n1", $n1); 109 oci_bind_by_name($s, ":c1", $c1); 110 oci_bind_by_name($s, ":c2", $c2); 111 oci_bind_by_name($s, ":c3", $c3); 112 oci_bind_by_name($s, ":n2", $n2); 113 oci_bind_by_name($s, ":n3", $n3); 114 oci_bind_by_name($s, ":n4", $n4); 115 oci_bind_by_name($s, ":d1", $d1); 116 oci_bind_by_name($s, ":n5", $n5); 117 oci_bind_by_name($s, ":c4", $c4); [all …]
|
H A D | bind_boolean_1.phpt | 32 oci_bind_by_name($s, ':output1', $output1, -1, OCI_B_BOL); 33 oci_bind_by_name($s, ':output2', $output2, -1, OCI_B_BOL); 43 oci_bind_by_name($s, ':b', $b, -1, OCI_B_BOL); 59 oci_bind_by_name($s, ':output', $output, -1, OCI_B_BOL); 61 oci_bind_by_name($s, ':input', $input); 77 oci_bind_by_name($s, ':b', $b, -1, OCI_B_BOL); 79 oci_bind_by_name($s, ':userid', $userid, -1, SQLT_INT); 98 oci_bind_by_name($s, ':b1', $b1, -1, OCI_B_BOL); 99 oci_bind_by_name($s, ':b2', $b2, -1, OCI_B_BOL);
|
H A D | bug72524.phpt | 32 oci_bind_by_name($stmt, ':clob_col', $clob); 33 oci_bind_by_name($stmt, ':varchar2_col', $varchar2); 41 oci_bind_by_name($stmt, ':clob_col', $clob); 42 oci_bind_by_name($stmt, ':varchar2_col', $varchar2); 49 oci_bind_by_name($stmt, ':clob_col', $clob, 0); 50 oci_bind_by_name($stmt, ':varchar2_col', $varchar2, 0); 57 oci_bind_by_name($stmt, ':clob_col', $clob, -1, SQLT_LNG); 58 oci_bind_by_name($stmt, ':varchar2_col', $varchar2, -1, SQLT_LNG); 65 oci_bind_by_name($stmt, ':clob_col', $clob, 0, SQLT_LNG); 66 oci_bind_by_name($stmt, ':varchar2_col', $varchar2, 0, SQLT_LNG);
|
H A D | bind_unsupported_3.phpt | 28 oci_bind_by_name($s, ":c1", $c1, -1, $v); 35 Warning: oci_bind_by_name(): Unable to find descriptor property in %sbind_unsupported_3.php on line… 38 Warning: oci_bind_by_name(): Unable to find descriptor property in %sbind_unsupported_3.php on line… 41 Warning: oci_bind_by_name(): Unable to find descriptor property in %sbind_unsupported_3.php on line… 44 Warning: oci_bind_by_name(): Unable to find descriptor property in %sbind_unsupported_3.php on line…
|
H A D | bind_sqltchr_1.phpt | 28 oci_bind_by_name($s, ":id", $id); 40 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_CHR); 50 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR); 59 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR); 68 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR); 77 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR); 86 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR); 95 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR); 104 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR); 113 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_CHR); [all …]
|
H A D | bind_sqltnum.phpt | 34 oci_bind_by_name($s, ":id", $id); 47 $r = oci_bind_by_name($s, ":c2", $c2, -1); 82 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_NUM); 89 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 98 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 107 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 116 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 125 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 134 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 143 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); [all …]
|
H A D | bind_sqltnum_11g.phpt | 34 oci_bind_by_name($s, ":id", $id); 47 $r = oci_bind_by_name($s, ":c2", $c2, -1); 82 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_NUM); 89 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 98 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 107 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 116 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 125 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 134 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 143 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); [all …]
|
H A D | refcur_prefetch_2.phpt | 56 oci_bind_by_name($s,':c1',$i); 57 oci_bind_by_name($s,':c2',$val2); 68 if (!oci_bind_by_name($s1,":cur1",$cur1,-1,SQLT_RSET)) { 69 die("oci_bind_by_name(sql1) failed!\n"); 78 die("oci_bind_by_name(sql2) failed!\n"); 80 if (!oci_bind_by_name($s2, ":c1", $c1, -1, SQLT_INT)) { 81 die("oci_bind_by_name(sql2) failed!\n"); 83 if (!oci_bind_by_name($s2, ":c2", $c2, 20, SQLT_CHR)) { 84 die("oci_bind_by_name(sql2) failed!\n"); 113 die("oci_bind_by_name(sql1) failed!\n"); [all …]
|
H A D | bind_number.phpt | 31 oci_bind_by_name($s, ":id", $id); 43 oci_bind_by_name($s, ":n1", $n1); 52 oci_bind_by_name($s, ":f1", $f1); 61 oci_bind_by_name($s, ":f1", $f1); 70 oci_bind_by_name($s, ":f1", $f1); 79 oci_bind_by_name($s, ":f1", $f1); 88 oci_bind_by_name($s, ":f1", $f1, -1, SQLT_NUM); 97 oci_bind_by_name($s, ":f1", $f1); 106 oci_bind_by_name($s, ":f1", $f1); 115 oci_bind_by_name($s, ":f1", $f1, -1, SQLT_INT);
|
H A D | error_bind.phpt | 2 Test some oci_bind_by_name error conditions 23 oci_bind_by_name($stmt, ":name", $name, 10, SQLT_CHR); 31 oci_bind_by_name($stmt, ":name", $c); 38 oci_bind_by_name($stmt, ":r_id", $c); 59 Warning: oci_bind_by_name(): Invalid variable used for bind in %s on line %d 66 Warning: oci_bind_by_name(): Invalid variable used for bind in %s on line %d
|
H A D | bind_char_2.phpt | 2 SELECT oci_bind_by_name with SQLT_AFC aka CHAR and dates 38 $r = oci_bind_by_name($s, ":bv", $bv1); 43 $r = oci_bind_by_name($s, ":bv", $bv1, -1, SQLT_AFC); 48 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 53 $r = oci_bind_by_name($s, ":bv", $bv1, strlen($bv1), SQLT_AFC); 58 $r = oci_bind_by_name($s, ":bv", $bv1, strlen($bv1)-1, SQLT_AFC); 63 $r = oci_bind_by_name($s, ":bv", $bv1, strlen($bv1)+1, SQLT_AFC);
|
H A D | bind_char_2_11gR1.phpt | 2 SELECT oci_bind_by_name with SQLT_AFC aka CHAR and dates 38 $r = oci_bind_by_name($s, ":bv", $bv1); 43 $r = oci_bind_by_name($s, ":bv", $bv1, -1, SQLT_AFC); 48 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 53 $r = oci_bind_by_name($s, ":bv", $bv1, strlen($bv1), SQLT_AFC); 58 $r = oci_bind_by_name($s, ":bv", $bv1, strlen($bv1)-1, SQLT_AFC); 63 $r = oci_bind_by_name($s, ":bv", $bv1, strlen($bv1)+1, SQLT_AFC);
|
H A D | bug38161.phpt | 2 Bug #38161 (oci_bind_by_name() returns garbage when Oracle didn't set the variable) 12 oci_bind_by_name($stid, ":bv", $bv, 22); 20 oci_bind_by_name($stid, ":bv", $bv, 22, SQLT_INT);
|
H A D | bind_unsupported_2.phpt | 21 oci_bind_by_name($s, ":c1", $c1, -1, $v); 28 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 22 in %sbind_unsupported_2.php … 31 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 21 in %sbind_unsupported_2.php …
|
H A D | bind_empty.phpt | 23 oci_bind_by_name($stmt, ":name", $name); 31 oci_bind_by_name($stmt, ":name", $name); 45 oci_bind_by_name($stmt, ":name", $name); 58 oci_bind_by_name($stmt, ":name", $name); 71 oci_bind_by_name($s, ":bv", $bv); 80 oci_bind_by_name($s, ":bv", $bv);
|