Home
last modified time | relevance | path

Searched refs:blob (Results 1 – 25 of 66) sorted by relevance

123

/PHP-8.0/ext/oci8/tests/
H A Dlob_034.phpt15 ".$schema.$table_name." (blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
26 var_dump($blob->getBuffering());
27 var_dump($blob->setBuffering(false));
28 var_dump($blob->setBuffering(false));
29 var_dump($blob->setBuffering(true));
30 var_dump($blob->setBuffering(true));
31 var_dump($blob->flush());
32 var_dump($blob->flush(0));
[all …]
H A Dlob_temp.phpt13 $blob = oci_new_descriptor($c,OCI_D_LOB);
14 var_dump($blob->writeTemporary("test"));
15 var_dump($blob->load());
16 var_dump($blob->seek(0, SEEK_SET));
17 var_dump($blob->read(2));
21 $blob = oci_new_descriptor($c,OCI_D_LOB);
22 var_dump($blob->writeTemporary("test"));
23 var_dump($blob->load());
24 var_dump($blob->seek(0, SEEK_SET));
25 var_dump($blob->read(2));
H A Dlob_021.phpt18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
26 var_dump($blob->write("test"));
27 var_dump($blob->close());
28 var_dump($blob->write("test"));
29 var_dump(oci_free_descriptor($blob));
32 var_dump($blob->write("test"));
38 var_dump(oci_free_descriptor($blob));
43 $blob = oci_new_descriptor($c,OCI_D_LOB);
44 unset($blob->descriptor);
[all …]
H A Dlob_013.phpt15 ".$schema.$table_name." (blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
23 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
26 var_dump($blob->write("test"));
27 var_dump($blob->getBuffering());
28 var_dump($blob->setBuffering(true));
29 var_dump($blob->write("test"));
30 var_dump($blob->getBuffering());
31 var_dump($blob->flush());
[all …]
H A Dlob_014.phpt15 ".$schema.$table_name." (blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
23 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
26 $blob;
28 var_dump($blob->write("test"));
29 var_dump($blob->close());
30 var_dump($blob->write("test"));
31 var_dump($blob->free());
35 $select_sql = "SELECT blob FROM ".$schema.$table_name."";
H A Dlob_temp1.phpt13 $blob = oci_new_descriptor($c,OCI_D_LOB);
14 var_dump($blob->writeTemporary("test"));
15 var_dump($blob->load());
16 var_dump($blob->close());
20 $blob = oci_new_descriptor($c,OCI_D_LOB);
21 var_dump($blob->writeTemporary("test"));
22 var_dump($blob->load());
23 var_dump($blob->close());
H A Dlob_004.phpt15 ".$schema.$table_name." (blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
23 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
26 var_dump($blob);
28 var_dump($blob->write("test"));
29 var_dump($blob->rewind());
30 var_dump($blob->write("str"));
31 var_dump($blob->seek(10, OCI_SEEK_SET));
35 $select_sql = "SELECT blob FROM ".$schema.$table_name." FOR UPDATE";
[all …]
H A Dlob_026.phpt15 ".$schema.$table_name." (blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
23 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
26 var_dump($blob);
28 var_dump(oci_lob_write($blob, "test"));
29 var_dump(oci_lob_rewind($blob));
30 var_dump(oci_lob_write($blob, "str"));
31 var_dump(oci_lob_seek($blob, 10, OCI_SEEK_SET));
35 $select_sql = "SELECT blob FROM ".$schema.$table_name." FOR UPDATE";
[all …]
H A Dlob_044.phpt17 "create table lob_044_tab (blob BLOB)",
27 $s = oci_parse($c, "INSERT INTO lob_044_tab (blob) VALUES (empty_blob()) RETURNING blob INTO :v_blo…
28 $blob = oci_new_descriptor($c, OCI_D_LOB);
29 oci_bind_by_name($s,":v_blob", $blob, -1, OCI_B_BLOB);
32 var_dump($blob->write("this is a biiiig faaat test string. why are you reading it, I wonder? =)"));
33 var_dump($blob->seek(0));
34 var_dump($blob->read(10000));
35 var_dump($blob->truncate());
36 var_dump($blob->seek(0));
37 var_dump($blob->read(10000));
[all …]
H A Dlob_036.phpt15 ".$schema.$table_name." (blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_DTYPE_LOB);
25 oci_bind_by_name($s,":v_blob", $blob,-1,OCI_B_BLOB);
28 var_dump($blob->write("test"));
29 var_dump($blob->setBuffering(true));
30 var_dump($blob->write("test"));
32 $blob = null;
H A Dlob_037.phpt16 ".$schema.$table_name." (blob)
19 blob
23 $blob = oci_new_descriptor($c,OCI_DTYPE_LOB);
25 oci_bind_by_name($s,":v_blob", $blob,-1,OCI_B_BLOB);
28 var_dump($blob->write("first lob data"));
33 ".$schema.$table_name." (blob)
36 blob
40 $blob = oci_new_descriptor($c,OCI_DTYPE_LOB);
42 oci_bind_by_name($s,":v_blob", $blob,-1,OCI_B_BLOB);
45 var_dump($blob->write("second lob data"));
[all …]
H A Dlob_042.phpt18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
26 var_dump($blob);
31 var_dump($blob->write($str));
32 var_dump($blob->truncate(1));
33 var_dump($blob->truncate(1));
34 var_dump($blob->truncate(2));
35 var_dump($blob->read(2));
37 var_dump($blob->import("does_not_exist"));
38 var_dump($blob->saveFile("does_not_exist"));
[all …]
H A Dlob_006.phpt15 ".$schema.$table_name." (blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
23 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
26 var_dump($blob);
29 var_dump($blob->write($str));
30 var_dump($blob->truncate());
31 var_dump($blob->seek(0, OCI_SEEK_SET));
32 var_dump($blob->write("string was here. tick-tack-tick-tack."));
33 var_dump($blob->erase(10, 10));
[all …]
H A Dlob_003.phpt15 ".$schema.$table_name." (blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
23 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
26 var_dump($blob);
28 var_dump($blob->write("test"));
29 var_dump($blob->tell());
30 var_dump($blob->seek(10, OCI_SEEK_CUR));
31 var_dump($blob->write("string"));
32 var_dump($blob->flush());
[all …]
H A Dlob_011.phpt15 ".$schema.$table_name." (id, blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
23 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
26 var_dump($blob->write("some string here. string, I said"));
30 ".$schema.$table_name." (id, blob)
33 blob
37 $blob = oci_new_descriptor($c,OCI_D_LOB);
38 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
43 $select_sql = "SELECT blob FROM ".$schema.$table_name." WHERE id = 1";
[all …]
H A Dlob_023.phpt15 ".$schema.$table_name." (blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
23 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
26 var_dump($blob);
27 var_dump($blob->seek(10, OCI_SEEK_CUR));
28 var_dump($blob->import(__DIR__."/lob_009.txt"));
29 var_dump(oci_lob_import($blob, __DIR__."/lob_009.txt"));
30 unset($blob->descriptor);
31 var_dump(oci_lob_import($blob, __DIR__."/lob_009.txt"));
[all …]
H A Doci_execute_segfault.phpt15 ".$schema.$table_name." (blob, clob)
18 blob
22 $blob = oci_new_descriptor($c, OCI_D_LOB);
23 oci_bind_by_name($s, ":v_blob", $blob, -1, OCI_B_BLOB);
25 var_dump($blob->save("some binary data"));
27 oci_bind_by_name($s, ":v_blob", $blob, -1, OCI_B_BLOB);
29 var_dump($blob->save("some more binary data"));
31 $query = 'SELECT blob, DBMS_LOB.GETLENGTH(blob) FROM '.$schema.$table_name.' ORDER BY 2';
H A Dlob_033.phpt15 ".$schema.$table_name." (id, blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
24 $blob->save("");
26 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
29 var_dump($blob->save(""));
30 var_dump($blob->save("data", 100));
H A Dlob_007.phpt15 ".$schema.$table_name." (blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
23 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
26 var_dump($blob);
28 var_dump($blob->size());
29 var_dump($blob->write(str_repeat("string.", 1000)));
30 var_dump($blob->size());
33 $select_sql = "SELECT blob FROM ".$schema.$table_name." FOR UPDATE";
H A Dlob_038.phpt68 blob
72 $blob = oci_new_descriptor($c,OCI_DTYPE_LOB);
78 var_dump($blob->save("blob test 1"));
81 var_dump($blob->save("blob test 2"));
84 var_dump($blob->save("blob test 3"));
159 string(11) "blob test 1"
161 string(11) "blob test 2"
163 string(11) "blob test 3"
175 string(11) "blob test 1"
183 string(11) "blob test 2"
[all …]
H A Dlob_035.phpt15 ".$schema.$table_name." (id, blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
23 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
26 echo "Writing blob\n";
27 var_dump($blob->write("some string here. string, I said"));
31 ".$schema.$table_name." (id, blob)
34 blob
38 $blob = oci_new_descriptor($c,OCI_D_LOB);
39 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
[all …]
H A Dlob_024.phpt15 ".$schema.$table_name." (blob)
18 blob
22 $blob = oci_new_descriptor($c,OCI_D_LOB);
23 oci_bind_by_name($statement,":v_blob", $blob,-1,OCI_B_BLOB);
26 var_dump($blob);
28 var_dump($blob->size());
29 var_dump($blob->write(str_repeat("string.", 1000)));
30 var_dump($blob->size());
33 $select_sql = "SELECT blob FROM ".$schema.$table_name." FOR UPDATE";
H A Dlob_001.phpt17 "create table lob_001_tab (id number, b1 blob)",
25 $blob = oci_new_descriptor($c,OCI_D_LOB);
26 var_dump(oci_bind_by_name($statement, ":v_b1", $blob, -1, OCI_B_BLOB));
28 var_dump($blob);
32 var_dump($blob->write("test"));
33 var_dump($blob->tell());
34 var_dump($blob->seek(10, OCI_SEEK_CUR));
35 var_dump($blob->write("string"));
36 var_dump($blob->flush());
49 $blob = oci_new_descriptor($c,OCI_D_LOB);
[all …]
/PHP-8.0/ext/pdo_pgsql/tests/
H A Dbug46274.phpt27 $blob = fopen('php://memory', 'a');
28 fwrite($blob, $data);
29 rewind($blob);
31 $stmt->bindparam(':foo', $blob, PDO::PARAM_LOB);
34 $blob = '';
35 $stmt->bindparam(':foo', $blob, PDO::PARAM_LOB);
39 $blob = fopen('php://memory', 'a');
40 fwrite($blob, $data);
41 rewind($blob);
43 $stmt->bindparam(':foo', $blob, PDO::PARAM_LOB);
[all …]
H A Dbug46274_2.phpt27 $blob = fopen('php://memory', 'a');
28 fwrite($blob, $data);
29 rewind($blob);
31 $stmt->bindparam(':foo', $blob, PDO::PARAM_LOB);
34 $blob = '';
35 $stmt->bindparam(':foo', $blob, PDO::PARAM_LOB);
39 $blob = fopen('php://memory', 'a');
40 fwrite($blob, $data);
41 rewind($blob);
43 $stmt->bindparam(':foo', $blob, PDO::PARAM_LOB);
[all …]

Completed in 42 milliseconds

123