|
pg_lo_tellReturns current seek position a of large object Description
int pg_lo_tell
( resource
$large_object
)pg_lo_tell returns the current position (offset from the beginning) of a large object. To use the large object interface, it is necessary to enclose it within a transaction block. Parameters
Return ValuesThe current seek offset (in number of bytes) from the beginning of the large object. If there is an error, the return value is negative. Examples
Example #1 pg_lo_tell example
<?php The above example will output: Seek position is: 50000 Changelog
See Also
|