string
pq\LOB::read([int
$length = 0x1000[, int
&$read = NULL
]])Read a string
of data from the current position of the large object.
int
$length# = 0x1000int
&$read# = NULL
string
, the data read.
<?php
$connection = new pq\Connection;
$transaction = new pq\Transaction($connection);
$data = $tansaction->openLOB(123)->read(100, $read);
printf("Read %d bytes: '%s'\n", $read, $data);
?>