/PHP-5.4/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 | lob_015.phpt | 25 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB,4); 26 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB,4,5); 27 oci_bind_by_name($statement,":v_blob", $int,-1); 28 oci_bind_by_name($statement,":v_blob", $int); 29 oci_bind_by_name($statement,":v_blob"); 30 oci_bind_by_name($statement); 43 Warning: oci_bind_by_name() expects at most 5 parameters, 6 given in %s on line %d 45 Warning: oci_bind_by_name() expects at most 5 parameters, 7 given in %s on line %d 47 Warning: oci_bind_by_name() expects at least 3 parameters, 2 given in %s on line %d 49 Warning: oci_bind_by_name() expects at least 3 parameters, 1 given in %s on line %d
|
H A D | bind_char_3.phpt | 38 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2); 46 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); 55 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10); 65 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL… 103 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL… 111 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); 121 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10); 151 $r = oci_bind_by_name($s, ':bv1', $bv1, 0, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 0, SQLT_… 161 $r = oci_bind_by_name($s, ':bv1', $bv1, 1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 1, SQLT_… 182 $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.phpt | 40 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2); 48 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); 57 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10); 67 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL… 105 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10, SQL… 113 $r = oci_bind_by_name($s, ':bv1', $bv1) && oci_bind_by_name($s, ':bv2', $bv2, 10); 123 $r = oci_bind_by_name($s, ':bv1', $bv1, -1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 10); 153 $r = oci_bind_by_name($s, ':bv1', $bv1, 0, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 0, SQLT_… 163 $r = oci_bind_by_name($s, ':bv1', $bv1, 1, SQLT_AFC) && oci_bind_by_name($s, ':bv2', $bv2, 1, SQLT_… 184 $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 | refcur_prefetch_4.phpt | 51 oci_bind_by_name($s,':c1',$i); 52 oci_bind_by_name($s,':c2',$val2); 64 die("oci_bind_by_name(sql1) failed!\n"); 73 die("oci_bind_by_name(sql2) failed!\n"); 75 if (!oci_bind_by_name($s2, ":c1", $c1, -1, SQLT_INT)) { 76 die("oci_bind_by_name(sql2) failed!\n"); 79 die("oci_bind_by_name(sql2) failed!\n"); 87 die("oci_bind_by_name(sql2) failed!\n"); 97 die("oci_bind_by_name(sql1) failed!\n"); 108 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 44 $r = oci_bind_by_name($s, ":bv", $bv1); 49 $r = oci_bind_by_name($s, ":bv", $bv1, -1, SQLT_AFC); 54 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 79 $r = oci_bind_by_name($s, ":bv", $bv1); 84 $r = oci_bind_by_name($s, ":bv", $bv1, -1, SQLT_AFC); 89 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 115 $r = oci_bind_by_name($s, ":bv", $bv1); 125 $r = oci_bind_by_name($s, ":bv", $bv1, 0, SQLT_AFC); 151 $r = oci_bind_by_name($s, ":bv", $bv1); [all …]
|
H A D | bind_unsupported_1.phpt | 30 oci_bind_by_name($s, ":c1", $c1, -1, $v); 39 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 97 in %sbind_unsupported_1.php … 42 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 5 in %sbind_unsupported_1.php o… 45 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 9 in %sbind_unsupported_1.php o… 48 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 94 in %sbind_unsupported_1.php … 51 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 4 in %sbind_unsupported_1.php o… 54 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 68 in %sbind_unsupported_1.php … 57 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 | 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 | 109 oci_bind_by_name($s, ":n1", $n1); 110 oci_bind_by_name($s, ":c1", $c1); 111 oci_bind_by_name($s, ":c2", $c2); 112 oci_bind_by_name($s, ":c3", $c3); 113 oci_bind_by_name($s, ":n2", $n2); 114 oci_bind_by_name($s, ":n3", $n3); 115 oci_bind_by_name($s, ":n4", $n4); 116 oci_bind_by_name($s, ":d1", $d1); 117 oci_bind_by_name($s, ":n5", $n5); 118 oci_bind_by_name($s, ":c4", $c4); [all …]
|
H A D | bind_unsupported_3.phpt | 26 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_sqltnum.phpt | 32 oci_bind_by_name($s, ":id", $id); 45 $r = oci_bind_by_name($s, ":c2", $c2, -1); 80 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_NUM); 87 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 96 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 105 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 114 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 123 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 132 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); 141 oci_bind_by_name($s, ":n1", $n1, -1, SQLT_NUM); [all …]
|
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 | refcur_prefetch_2.phpt | 49 oci_bind_by_name($s,':c1',$i); 50 oci_bind_by_name($s,':c2',$val2); 61 if (!oci_bind_by_name($s1,":cur1",$cur1,-1,SQLT_RSET)) { 62 die("oci_bind_by_name(sql1) failed!\n"); 71 die("oci_bind_by_name(sql2) failed!\n"); 73 if (!oci_bind_by_name($s2, ":c1", $c1, -1, SQLT_INT)) { 74 die("oci_bind_by_name(sql2) failed!\n"); 76 if (!oci_bind_by_name($s2, ":c2", $c2, 20, SQLT_CHR)) { 77 die("oci_bind_by_name(sql2) failed!\n"); 106 die("oci_bind_by_name(sql1) failed!\n"); [all …]
|
H A D | bind_number.phpt | 36 oci_bind_by_name($s, ":id", $id); 48 oci_bind_by_name($s, ":n1", $n1); 57 oci_bind_by_name($s, ":f1", $f1); 66 oci_bind_by_name($s, ":f1", $f1); 75 oci_bind_by_name($s, ":f1", $f1); 84 oci_bind_by_name($s, ":f1", $f1); 93 oci_bind_by_name($s, ":f1", $f1, -1, SQLT_NUM); 102 oci_bind_by_name($s, ":f1", $f1); 111 oci_bind_by_name($s, ":f1", $f1); 120 oci_bind_by_name($s, ":f1", $f1, -1, SQLT_INT);
|
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 | 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 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); 56 $r = oci_bind_by_name($s, ":bv", $bv1, strlen($bv1), SQLT_AFC); 61 $r = oci_bind_by_name($s, ":bv", $bv1, strlen($bv1)-1, SQLT_AFC); 66 $r = oci_bind_by_name($s, ":bv", $bv1, strlen($bv1)+1, SQLT_AFC);
|
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);
|
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_misccoltypes_errs.phpt | 40 oci_bind_by_name($s, ":id", $id); 53 oci_bind_by_name($s, ":n1", $n1); 63 oci_bind_by_name($s, ":n1", $n1); 72 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 79 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 86 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 93 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_BIN); 102 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_LBI);
|
H A D | define6.phpt | 38 oci_bind_by_name($s1, ":curs", $cursor1, -1, OCI_B_CURSOR); 51 oci_bind_by_name($s2, ":curs", $cursor2, -1, OCI_B_CURSOR); 65 oci_bind_by_name($s3, ":curs", $cursor3, -1, OCI_B_CURSOR); 78 oci_bind_by_name($s4, ":curs", $cursor4, -1, OCI_B_CURSOR); 92 oci_bind_by_name($s5, ":curs", $cursor5, -1, OCI_B_CURSOR); 105 oci_bind_by_name($s6, ":curs", $cursor6, -1, OCI_B_CURSOR);
|
H A D | bind_unsupported_2.phpt | 26 oci_bind_by_name($s, ":c1", $c1, -1, $v); 35 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 22 in %sbind_unsupported_2.php … 38 Warning: oci_bind_by_name(): Unknown or unsupported datatype given: 21 in %sbind_unsupported_2.php …
|