Home > PHP > Function > OCI8 > OCI-Lob->erase()

OCI-Lob->erase()

OCI-Lob->erase - Erases a specified portion of the internal LOB data

Syntax

int OCI-Lob->erase (int $offset, int $length)

Arguments

  • offset
  • length

Description

Erases a specified portion of the internal LOB data starting at a specified offset. If called without parameters, it erases all LOB data.

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns the actual number of characters/bytes erased or FALSE on failure.